TiKV 5.3.0 启动失败

TIKV 5.3.0 启动失败

thread ‘main’ panicked at ‘called Result::unwrap() on an Err value: ParseIntError { kind: PosOverflow }’, components/tikv_util/src/sys/cgroup.rs:250:18
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

2 个赞

有其他的信息补充一下么?

这个没办法判断

使用的是二进制的方式启动的
nohup tikv-server --config=tikv.toml --status-addr “${ip}:${port}” &

tikv-server 5.3.0 的版本

配置文件 tikv.toml

TiKV config template

log-level = “info”

log-file = “/data4/tikv15006/log/tikv.log”

slow-log-file = “/data4/tikv15006/log/tikv_slow.log”

log-rotation-timespan = “24h”

slow-log-threshold = “1s”

log-rotation-size = “300MB”

[readpool.unified]

The minimal working thread count of the thread pool.

min-thread-count = 1

The default value is max(4, LOGICAL_CPU_NUM * 0.8).

max-thread-count = 8

Size of the stack for each thread in the thread pool.

stack-size = “10MB”

Max running tasks of each worker, reject if exceeded.

max-tasks-per-worker = 2000

[readpool.storage]

use-unified-pool = true

[readpool.coprocessor]

use-unified-pool = true

[server]

addr = “11.187.134.221:15006”

advertise-addr = “11.187.134.221:15006”

[storage]

data-dir = “/data4/tikv15006/store”

[storage.block-cache]

capacity = “8G”

[pd]

endpoints = [‘9.44.5.66:15072’, ‘9.44.5.93:15072’, ‘9.22.58.223:15072’]

[raftstore]

hibernate-regions = true

apply-pool-size = 4

store-pool-size = 4

1 个赞

不是 tiup ?手工玩? :rofl:

嗯嗯 手工的 但是之前的就没啥问题

企业用的 不用tiup 是有点难言之隐的

1 个赞

cgroup 内存设置是不是超过限制了 https://github.com/tikv/tikv/issues/11348

1 个赞

tiup-cluster deploy 失败 以下是在目标节点上执行的log 有人知道是什么原因吗?topology.yaml应该没问题,tikv 其他两个节点已经检查通过了
/ssd2/tidb-deploy/tikv-8216/bin/tikv-server --config-check --config=/ssd2/tidb-deploy/tikv-8216/conf/tikv.toml --pd “” --data-dir “/ssd2/tidb-data/tikv-8216”
thread ‘main’ panicked at ‘called Option::unwrap() on a None value’, components/tikv_util/src/sys/cgroup.rs:97:72
stack backtrace:
0: 0x5610aa70bbc3 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/…/…/backtrace/src/backtrace/libunwind.rs:90:5
1: 0x5610aa70bbc3 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/…/…/backtrace/src/backtrace/mod.rs:66:5
2: 0x5610aa70bbc3 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:67:5
3: 0x5610aa70bbc3 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he312f4ad5b9bb346
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:46:22
4: 0x5610a95f861c - core::fmt::write::h9a6d9c74526a6c1b
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/fmt/mod.rs:1115:17
5: 0x5610aa709f04 - std::io::Write::write_fmt::h6aced00850e8186f
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/io/mod.rs:1665:15
6: 0x5610aa70ac7b - std::sys_common::backtrace::_print::h65d996766de40da4
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:49:5
7: 0x5610aa70ac7b - std::sys_common::backtrace::print::h40df9727e635f303
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:36:9
8: 0x5610aa70ac7b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/panicking.rs:208:50
9: 0x5610aa709b95 - std::panicking::default_hook::h3d55120ad6ada158
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/panicking.rs:225:9
10: 0x5610aa709b95 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/panicking.rs:622:17
11: 0x5610aa723ace - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/panicking.rs:517:13
12: 0x5610aa723a6c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:141:18
13: 0x5610aa723a1d - rust_begin_unwind
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/panicking.rs:515:5
14: 0x5610a936ded0 - core::panicking::panic_fmt::hcf5f6d96e1dd7099
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/panicking.rs:92:14
15: 0x5610a936e02c - core::panicking::panic::hd695e3b1d0dd4ef4
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/panicking.rs:50:5
16: 0x5610aae2e550 - core::option::Option::unwrap::h1836d1e2c72564be
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/option.rs:722:21
17: 0x5610aae2e550 - tikv_util::sys::cgroup::CGroupSys::cpuset_cores::h7a14dd62b9a774f4
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/components/tikv_util/src/sys/cgroup.rs:97:39
18: 0x5610aae2ddfd - tikv_util::sys::SysQuota::cpu_cores_quota::h09e53662b5700dc3
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/components/tikv_util/src/sys/mod.rs:34:28
19: 0x5610aaa46be0 - <tikv::config::UnifiedReadPoolConfig as core::default::Default>::default::hc6d034eed8b94d54
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:1705:23


20: 0x5610aaa46be0 - <tikv::config::ReadPoolConfig as core::default::Default>::default::hf24deecb8cd38e0f
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:2008:5
21: 0x5610aaa46be0 - <tikv::config::TiKvConfig as core::default::Default>::default::h02d60621c02d2ec1
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:2451:23
22: 0x5610aaa829bd - <tikv::config::_IMPL_DESERIALIZE_FOR_TiKvConfig::::deserialize::__Visitor as serde::de::Visitor>::visit_map::h54dbad94605c2fe2
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:2325:28
23: 0x5610aaa56be3 - <serde_ignored::Wrap<X,F> as serde::de::Visitor>::visit_map::h3b61444105b0e26a
at /rust/registry/src/github.com-1ecc6299db9ec823/serde_ignored-0.1.2/src/lib.rs:618:9
24: 0x5610aaa56be3 - <&mut toml::de::Deserializer as serde::de::Deserializer>::deserialize_any::hb6fa006ab859005c
at /rust/registry/src/github.com-1ecc6299db9ec823/toml-0.5.7/src/de.rs:220:19
25: 0x5610aaa56be3 - <&mut toml::de::Deserializer as serde::de::Deserializer>::deserialize_struct::h5e5d016457efe4c4
at /rust/registry/src/github.com-1ecc6299db9ec823/toml-0.5.7/src/de.rs:315:9
26: 0x5610aaa56be3 - <serde_ignored::Deserializer<D,F> as serde::de::Deserializer>::deserialize_struct::hc59060f3d5eab5f1
at /rust/registry/src/github.com-1ecc6299db9ec823/serde_ignored-0.1.2/src/lib.rs:398:9
27: 0x5610aaa56be3 - tikv::config::_IMPL_DESERIALIZE_FOR_TiKvConfig::::deserialize::h0a017b4a2b68d84c
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:2325:28
28: 0x5610aaa56be3 - serde_ignored::deserialize::h70ecbcb6bfec514b
at /rust/registry/src/github.com-1ecc6299db9ec823/serde_ignored-0.1.2/src/lib.rs:100:5
29: 0x5610aaa56be3 - tikv::config::TiKvConfig::from_file::{{closure}}::h08a1c792e5b9e208
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:2844:17
30: 0x5610aaa56be3 - tikv::config::TiKvConfig::from_file::h6d0fe71e97774b3c
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/src/config.rs:2840:9
31: 0x5610a947c6da - tikv_server::main::{{closure}}::h01bb911625797dd5
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/cmd/tikv-server/src/main.rs:162:13
32: 0x5610a947c6da - core::option::Option::map_or_else::h23bfa87dcd5678ac
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/option.rs:873:24
33: 0x5610a947c6da - tikv_server::main::hca52c63b811adddf
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/go/src/github.com/pingcap/tikv/cmd/tikv-server/src/main.rs:159:22
34: 0x5610a9465213 - core::ops::function::FnOnce::call_once::h006ef8e504fd7a25
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/core/src/ops/function.rs:227:5
35: 0x5610a9465213 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf5c8a350ecf9179d
at /rustc/2faabf579323f5252329264cc53ba9ff803429a3/library/std/src/sys_common/backtrace.rs:125:18
36: 0x5610a947ee04 - main
37: 0x7f3c8df663d5 - __libc_start_main
38: 0x5610a9464327 -
39: 0x0 -

你好,这是个旧问题,你重新追问的问题很容易被忽略~请重新发帖提问吧。

谢谢提醒:)

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。