Andres Javier Santamaria Ariza
11/08/2024, 3:52 PMSrikanth Chekuri
11/08/2024, 3:54 PMk8s-infra
chart which needs to be installed separately.Andres Javier Santamaria Ariza
11/08/2024, 3:55 PMSrikanth Chekuri
11/08/2024, 3:57 PMAndres Javier Santamaria Ariza
11/08/2024, 3:57 PMAndres Javier Santamaria Ariza
11/08/2024, 3:58 PMSrikanth Chekuri
11/08/2024, 3:59 PMAndres Javier Santamaria Ariza
11/08/2024, 4:00 PMSrikanth Chekuri
11/08/2024, 4:01 PMSELECT count()
FROM signoz_logs.distributed_logs_v2
WHERE timestamp > toUnixTimestamp64Nano(now64() - toIntervalMinute(5))
Andres Javier Santamaria Ariza
11/08/2024, 4:02 PMSrikanth Chekuri
11/08/2024, 4:03 PMAndres Javier Santamaria Ariza
11/08/2024, 4:05 PMSrikanth Chekuri
11/08/2024, 4:08 PMAndres Javier Santamaria Ariza
11/08/2024, 4:10 PMi see son errors in click house 2024.11.08 16:07:48.155270 [ 569 ] {} <Error> signoz_logs.distributed_logs_v2_resource.DistributedInsertQueue.default: Code: 252. DB::Exception: Received from chi-signoz-clickhouse-cluster-0-0:9000. DB::Exception: Too many parts (3000 with average size of 26.50 KiB) in table 'signoz_logs.logs_v2_resource (a8150343-8461-489f-923f-941e6234837c)'. Merges are processing significantly slower than inserts. Stack trac
Andres Javier Santamaria Ariza
11/08/2024, 4:10 PMSrikanth Chekuri
11/08/2024, 4:11 PMToo many parts (3000 with average size of 26.50 KiB) in table 'signoz_logs.logs_v2_resource (a8150343-8461-489f-923f-941e6234837c)'. Merges are processing significantly slower than insertsYour ClickHouse probably doesn't have enough CPU resources.
Andres Javier Santamaria Ariza
11/08/2024, 4:15 PMAndres Javier Santamaria Ariza
11/08/2024, 5:14 PM{"date_time":"1731085572.256652","thread_name":"TCPServerConnection ([#13])","thread_id":"782","level":"Error","query_id":"","logger_name":"Access(user directories)","message":"from: ::ffff:10.100.70.82, user: clickhouse_operator: Authentication failed: Code: 195. DB::Exception: Connections from ::ffff:10.100.70.82 are not allowed. (IP_ADDRESS_NOT_ALLOWED), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c800f1b in \/usr\/bin\/clickhouse\n1. DB::Exception::Exception<String>(int, FormatStringHelperImpl<std::type_identity<String>::type>, String&&) @ 0x0000000007219a43 in \/usr\/bin\/clickhouse\n2. DB::IAccessStorage::throwAddressNotAllowed(Poco::Net::IPAddress const&) @ 0x000000001034b691 in \/usr\/bin\/clickhouse\n3. DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001034b5b7 in \/usr\/bin\/clickhouse\n4. DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001038244a in \/usr\/bin\/clickhouse\n5. DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x00000000102bd560 in \/usr\/bin\/clickhouse\n6. DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000116a5323 in \/usr\/bin\/clickhouse\n7. DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x00000000128b6461 in \/usr\/bin\/clickhouse\n8. DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional<DB::CurrentThread::QueryScope>&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128b7ce1 in \/usr\/bin\/clickhouse\n9. DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128c02d0 in \/usr\/bin\/clickhouse\n10. DB::HTTPServerConnection::run() @ 0x000000001293e47a in \/usr\/bin\/clickhouse\n11. Poco::Net::TCPServerConnection::start() @ 0x00000000153a5a72 in \/usr\/bin\/clickhouse\n12. Poco::Net::TCPServerDispatcher::run() @ 0x00000000153a6871 in \/usr\/bin\/clickhouse\n13. Poco::PooledThread::run() @ 0x000000001549f047 in \/usr\/bin\/clickhouse\n14. Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001549d67d in \/usr\/bin\/clickhouse\n15. ? @ 0x00007f2d12838609\n16. ? @ 0x00007f2d1275d353\n (version 24.1.2.5 (official build))","source_file":"src\/Common\/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)","source_line":"222"}
{"date_time":"1731085572.256931","thread_name":"TCPServerConnection ([#13])","thread_id":"782","level":"Error","query_id":"","logger_name":"DynamicQueryHandler","message":"Code: 516. DB::Exception: clickhouse_operator: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c800f1b in \/usr\/bin\/clickhouse\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007305f8c in \/usr\/bin\/clickhouse\n2. DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x00000000102bd834 in \/usr\/bin\/clickhouse\n3. DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000116a5323 in \/usr\/bin\/clickhouse\n4. DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x00000000128b6461 in \/usr\/bin\/clickhouse\n5. DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional<DB::CurrentThread::QueryScope>&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128b7ce1 in \/usr\/bin\/clickhouse\n6. DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128c02d0 in \/usr\/bin\/clickhouse\n7. DB::HTTPServerConnection::run() @ 0x000000001293e47a in \/usr\/bin\/clickhouse\n8. Poco::Net::TCPServerConnection::start() @ 0x00000000153a5a72 in \/usr\/bin\/clickhouse\n9. Poco::Net::TCPServerDispatcher::run() @ 0x00000000153a6871 in \/usr\/bin\/clickhouse\n10. Poco::PooledThread::run() @ 0x000000001549f047 in \/usr\/bin\/clickhouse\n11. Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001549d67d in \/usr\/bin\/clickhouse\n12. ? @ 0x00007f2d12838609\n13. ? @ 0x00007f2d1275d353\n (version 24.1.2.5 (official build))","source_file":"src\/Common\/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)","source_line":"222"}
{"date_time":"1731085572.258188","thread_name":"TCPServerConnection ([#13])","thread_id":"782","level":"Error","query_id":"","logger_name":"Access(user directories)","message":"from: ::ffff:10.100.70.82, user: clickhouse_operator: Authentication failed: Code: 195. DB::Exception: Connections from ::ffff:10.100.70.82 are not allowed. (IP_ADDRESS_NOT_ALLOWED), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c800f1b in \/usr\/bin\/clickhouse\n1. DB::Exception::Exception<String>(int, FormatStringHelperImpl<std::type_identity<String>::type>, String&&) @ 0x0000000007219a43 in \/usr\/bin\/clickhouse\n2. DB::IAccessStorage::throwAddressNotAllowed(Poco::Net::IPAddress const&) @ 0x000000001034b691 in \/usr\/bin\/clickhouse\n3. DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001034b5b7 in \/usr\/bin\/clickhouse\n4. DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001038244a in \/usr\/bin\/clickhouse\n5. DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x00000000102bd560 in \/usr\/bin\/clickhouse\n6. DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000116a5323 in \/usr\/bin\/clickhouse\n7. DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x00000000128b6461 in \/usr\/bin\/clickhouse\n8. DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional<DB::CurrentThread::QueryScope>&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128b7ce1 in \/usr\/bin\/clickhouse\n9. DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128c02d0 in \/usr\/bin\/clickhouse\n10. DB::HTTPServerConnection::run() @ 0x000000001293e47a in \/usr\/bin\/clickhouse\n11. Poco::Net::TCPServerConnection::start() @ 0x00000000153a5a72 in \/usr\/bin\/clickhouse\n12. Poco::Net::TCPServerDispatcher::run() @ 0x00000000153a6871 in \/usr\/bin\/clickhouse\n13. Poco::PooledThread::run() @ 0x000000001549f047 in \/usr\/bin\/clickhouse\n14. Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001549d67d in \/usr\/bin\/clickhouse\n15. ? @ 0x00007f2d12838609\n16. ? @ 0x00007f2d1275d353\n (version 24.1.2.5 (official build))","source_file":"src\/Common\/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)","source_line":"222"}
{"date_time":"1731085572.258364","thread_name":"TCPServerConnection ([#13])","thread_id":"782","level":"Error","query_id":"","logger_name":"DynamicQueryHandler","message":"Code: 516. DB::Exception: clickhouse_operator: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below):\n\n0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c800f1b in \/usr\/bin\/clickhouse\n1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007305f8c in \/usr\/bin\/clickhouse\n2. DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x00000000102bd834 in \/usr\/bin\/clickhouse\n3. DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000116a5323 in \/usr\/bin\/clickhouse\n4. DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x00000000128b6461 in \/usr\/bin\/clickhouse\n5. DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional<DB::CurrentThread::QueryScope>&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128b7ce1 in \/usr\/bin\/clickhouse\n6. DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef<unsigned long, ProfileEvents::EventTag> const&) @ 0x00000000128c02d0 in \/usr\/bin\/clickhouse\n7. DB::HTTPServerConnection::run() @ 0x000000001293e47a in \/usr\/bin\/clickhouse\n8. Poco::Net::TCPServerConnection::start() @ 0x00000000153a5a72 in \/usr\/bin\/clickhouse\n9. Poco::Net::TCPServerDispatcher::run() @ 0x00000000153a6871 in \/usr\/bin\/clickhouse\n10. Poco::PooledThread::run() @ 0x000000001549f047 in \/usr\/bin\/clickhouse\n11. Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001549d67d in \/usr\/bin\/clickhouse\n12. ? @ 0x00007f2d12838609\n13. ? @ 0x00007f2d1275d353\n (version 24.1.2.5 (official build))","source_file":"src\/Common\/Exception.cpp; void DB::tryLogCurrentExceptionImpl(Poco::Logger *, const std::string &)","source_line":"222"}
Andres Javier Santamaria Ariza
11/08/2024, 7:42 PM{"date_time":"1731093428.440745","thread_name":"","thread_id":"474","level":"Information","query_id":"","logger_name":"signoz_logs.logs_v2_resource (ReplicatedMergeTreePartCheckThread)","message":"Found the missing part 19700121_956072_956110_5 at 19700121_956072_956110_5 on chi-signoz-clickhouse-cluster-0-1","source_file":"src\/Storages\/MergeTree\/ReplicatedMergeTreePartCheckThread.cpp; bool DB::ReplicatedMergeTreePartCheckThread::searchForMissingPartOnOtherReplicas(const String &) const","source_line":"201"}
{"date_time":"1731093428.797659","thread_name":"","thread_id":"753","level":"Information","query_id":"7b123994-af67-4bb9-88d6-e9dd8269ec64","logger_name":"signoz_logs.logs_v2 (b941206c-4bcb-48f1-8679-0d4356ac4cac)","message":"Delaying inserting block by 147 ms. because there are 1293 parts and their average size is 16.32 MiB","source_file":"src\/Storages\/MergeTree\/MergeTreeData.cpp; void DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event *, const ContextPtr &, bool) const","source_line":"4558"}
{"date_time":"1731093429.329284","thread_name":"","thread_id":"913","level":"Information","query_id":"d2e89678-ff65-49ec-b248-91c223b1aff9","logger_name":"signoz_logs.logs_v2 (b941206c-4bcb-48f1-8679-0d4356ac4cac)","message":"Delaying inserting block by 147 ms. because there are 1293 parts and their average size is 16.32 MiB","source_file":"src\/Storages\/MergeTree\/MergeTreeData.cpp; void DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event *, const ContextPtr &, bool) const","source_line":"4558"}
Srikanth Chekuri
11/09/2024, 10:51 AM