Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start TiFlash when some CPUs are offline #9212

Closed
Lloyd-Pottiger opened this issue Jul 10, 2024 · 1 comment · Fixed by #9602
Closed

Failed to start TiFlash when some CPUs are offline #9212

Lloyd-Pottiger opened this issue Jul 10, 2024 · 1 comment · Fixed by #9602
Assignees
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. component/compute severity/major type/bug The issue is confirmed as a bug.

Comments

@Lloyd-Pottiger
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

In a machine with 72 logical cpu cores, and let 64 of them off-line.

6qzOnG0kEG

2. What did you expect to see? (Required)

Start TiFlash successfully.

3. What did you see instead (Required)

[2024/07/10 14:55:07.141 +08:00] [ERROR] [BaseDaemon.cpp:495] ["Integer divide by zero."] [source=BaseDaemon] [thread_id=2][2024/07/10 14:55:10.890 +08:00] [ERROR] [BaseDaemon.cpp:560] ["\n  0x563cb525a5ce\tfaultSignalHandler(int, siginfo_t*, void*) [tiflash+123495886]\n                \tlibs/libdaemon/src/BaseDaemon.cpp:211\n  0x7fda5033b630\t<unknown symbol> [libpthread.so.0+63024]\n  0x563cafc6e83e\tcomputeAndSetNumberOfPhysicalCPUCores(unsigned short, unsigned short) [tiflash+33400894]\n                \tdbms/src/Common/getNumberOfCPUCores.cpp:66\n  0x563cafc39345\tDB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&) [tiflash+33182533]\n                \tdbms/src/Server/Server.cpp:1077\n  0x563cb6fc7776\tPoco::Util::Application::run() [tiflash+154351478]\n                \tcontrib/poco/Util/src/Application.cpp:335\n  0x563cafc3306f\tDB::Server::run() [tiflash+33157231]\n                \tcontrib/poco/Util/src/ServerApplication.cpp:94\n  0x563cafc4c562\tmainEntryClickHouseServer(int, char**) [tiflash+33260898]\n                \tdbms/src/Server/Server.cpp:1855\n  0x563cafb82010\tmain [tiflash+32432144]\n                \tdbms/src/Server/main.cpp:172\n  0x7fda4faaa555\t__libc_start_main [libc.so.6+140629]"] [source=BaseDaemon] [thread_id=2]
[2024/07/10 14:55:34.790 +08:00] [INFO] [BaseDaemon.cpp:1175] ["Welcome to TiFlash"] [thread_id=1][2024/07/10 14:55:34.790 +08:00] [INFO] [BaseDaemon.cpp:1178] ["TiFlash build info: TiFlash\nRelease Version: v8.2.0-alpha-90-g914aaf71a\nEdition:         Community\nGit Commit Hash: 914aaf71ae9ffae2b9162dbf77c451bf5872ba2f\nGit Branch:      HEAD\nUTC Build Time:  2024-07-10 02:11:01\nEnable Features: jemalloc sm4(GmSSL) avx2 avx512 unwind thinlto\nProfile:         RELWITHDEBINFO\nCompiler:        clang++ 17.0.6\n"] [thread_id=1]

4. What is your TiFlash version? (Required)

master

@xzhangxian1008
Copy link
Contributor

/assign

ti-chi-bot bot pushed a commit that referenced this issue Nov 15, 2024
ti-chi-bot bot pushed a commit that referenced this issue Nov 21, 2024
…ng cpu number (#9602) (#9625)

close #9212

Co-authored-by: xzhangxian1008 <[email protected]>
Co-authored-by: JaySon <[email protected]>
ti-chi-bot bot added a commit that referenced this issue Nov 21, 2024
…ng cpu number (#9602) (#9624)

close #9212

Co-authored-by: xzhangxian1008 <[email protected]>
Co-authored-by: JaySon <[email protected]>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot pushed a commit that referenced this issue Nov 21, 2024
…ng cpu number (#9602) (#9626)

close #9212

Signed-off-by: ti-chi-bot <[email protected]>

Co-authored-by: xzhangxian1008 <[email protected]>
ti-chi-bot bot pushed a commit that referenced this issue Dec 9, 2024
…ng cpu number (#9602) (#9627)

close #9212

Co-authored-by: xzhangxian1008 <[email protected]>
Co-authored-by: Purelind <[email protected]>
Co-authored-by: JaySon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. component/compute severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
3 participants