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

集群部署主节点因为阿里云断电挂掉之后从节点可以启动但是无法建立连接 #22035

Open
zyj-nanjing opened this issue Jul 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@zyj-nanjing
Copy link

07/11 15:44:42.393423 00005601 UTL all debug flag are set to 135
07/11 15:44:42.393929 00005601 UTL all debug flag are set to 135
07/11 15:44:42.393935 00005601 DND start to initialize TDengine
07/11 15:44:42.393982 00005601 DND step:dnode-tfile is initialized
07/11 15:44:42.393989 00005601 DND step:dnode-rpc is initialized
07/11 15:44:42.393993 00005601 UTL all debug flag are set to 135
07/11 15:44:42.394620 00005601 UTL localEp is: slave-beiwei-shanghai-l:6030
07/11 15:44:42.394767 00005601 UTL WARN timezone not configured, set to system default: (CST, +0800)
07/11 15:44:42.394817 00005601 UTL WARN locale not configured, set to system default:zh_CN.UTF-8
07/11 15:44:42.394825 00005601 UTL WARN charset not configured, set to system default:UTF-8
07/11 15:44:42.394844 00005601 UTL check global cfg completed
07/11 15:44:42.394848 00005601 UTL ==================================
07/11 15:44:42.394852 00005601 UTL taos config & system info:
07/11 15:44:42.394856 00005601 UTL ==================================
07/11 15:44:42.394860 00005601 UTL firstEp: master-beiwei-shanghai-l:6030
07/11 15:44:42.394864 00005601 UTL secondEp: slave-beiwei-shanghai-l:6030
07/11 15:44:42.394867 00005601 UTL fqdn: slave-beiwei-shanghai-l
07/11 15:44:42.394871 00005601 UTL serverPort: 6030
07/11 15:44:42.394875 00005601 UTL configDir: /etc/taos
07/11 15:44:42.394878 00005601 UTL logDir: /var/log/taos
07/11 15:44:42.394882 00005601 UTL scriptDir: /etc/taos
07/11 15:44:42.394885 00005601 UTL arbitrator:
07/11 15:44:42.394889 00005601 UTL numOfThreadsPerCore: 1.000000
07/11 15:44:42.394894 00005601 UTL numOfCommitThreads: 4
07/11 15:44:42.394898 00005601 UTL ratioOfQueryCores: 1.000000
07/11 15:44:42.394902 00005601 UTL maxNumOfDistinctRes: 10000000
07/11 15:44:42.394905 00005601 UTL numOfMnodes: 1
07/11 15:44:42.394909 00005601 UTL vnodeBak: 1
07/11 15:44:42.394912 00005601 UTL telemetryReporting: 1
07/11 15:44:42.394916 00005601 UTL dnodeNopLoop: 0
07/11 15:44:42.394919 00005601 UTL tcpConnTimeout: 1000(ms)
07/11 15:44:42.394923 00005601 UTL syncCheckInterval: 1500(ms)
07/11 15:44:42.394926 00005601 UTL balance: 1
07/11 15:44:42.394930 00005601 UTL balanceInterval: 300
07/11 15:44:42.394933 00005601 UTL offlineInterval: 3
07/11 15:44:42.394936 00005601 UTL keepTimeOffset: 0
07/11 15:44:42.394940 00005601 UTL role: 0
07/11 15:44:42.394943 00005601 UTL maxTmrCtrl: 5120
07/11 15:44:42.394947 00005601 UTL monitorInterval: 30(s)
07/11 15:44:42.394950 00005601 UTL monitorReplica: 1
07/11 15:44:42.394954 00005601 UTL offlineThreshold: 864000(s)
07/11 15:44:42.394957 00005601 UTL rpcTimer: 300(ms)
07/11 15:44:42.394968 00005601 UTL rpcMaxTime: 600(s)
07/11 15:44:42.394971 00005601 UTL rpcForceTcp: 0
07/11 15:44:42.394975 00005601 UTL statusInterval: 1(s)
07/11 15:44:42.394978 00005601 UTL shellActivityTimer: 3(s)
07/11 15:44:42.394989 00005601 UTL minSlidingTime: 10(ms)
07/11 15:44:42.394993 00005601 UTL minIntervalTime: 1(ms)
07/11 15:44:42.394996 00005601 UTL maxStreamCompDelay: 20000(ms)
07/11 15:44:42.395000 00005601 UTL maxFirstStreamCompDelay:10000(ms)
07/11 15:44:42.395003 00005601 UTL retryStreamCompDelay: 1800000(ms)
07/11 15:44:42.395007 00005601 UTL streamCompDelayRatio: 0.100000
07/11 15:44:42.395011 00005601 UTL maxVgroupsPerDb: 0
07/11 15:44:42.395015 00005601 UTL maxTablesPerVnode: 1000000
07/11 15:44:42.395018 00005601 UTL minTablesPerVnode: 1000
07/11 15:44:42.395022 00005601 UTL tableIncStepPerVnode: 1000
07/11 15:44:42.395025 00005601 UTL cache: 16(Mb)
07/11 15:44:42.395039 00005601 UTL blocks: 6
07/11 15:44:42.395043 00005601 UTL days: 10
07/11 15:44:42.395046 00005601 UTL keep: 3650
07/11 15:44:42.395052 00005601 UTL minRows: 100
07/11 15:44:42.395056 00005601 UTL maxRows: 4096
07/11 15:44:42.395059 00005601 UTL precision: 0
07/11 15:44:42.395063 00005601 UTL comp: 2
07/11 15:44:42.395066 00005601 UTL walLevel: 1
07/11 15:44:42.395069 00005601 UTL fsync: 3000
07/11 15:44:42.395073 00005601 UTL replica: 1
07/11 15:44:42.395076 00005601 UTL partitions: 4
07/11 15:44:42.395080 00005601 UTL quorum: 1
07/11 15:44:42.395083 00005601 UTL update: 0
07/11 15:44:42.395086 00005601 UTL cachelast: 0
07/11 15:44:42.395090 00005601 UTL compressMsgSize: 524288
07/11 15:44:42.395093 00005601 UTL compressColData: -1
07/11 15:44:42.395096 00005601 UTL maxSQLLength: 1048576(byte)
07/11 15:44:42.395100 00005601 UTL maxWildCardsLength: 100(byte)
07/11 15:44:42.395104 00005601 UTL maxRegexStringLen: 128(byte)
07/11 15:44:42.395107 00005601 UTL maxNumOfOrderedRes: 1000000
07/11 15:44:42.395110 00005601 UTL queryBufferSize: -1(byte)
07/11 15:44:42.395114 00005601 UTL retrieveBlockingModel: 0
07/11 15:44:42.395117 00005601 UTL keepColumnName: 0
07/11 15:44:42.395120 00005601 UTL timezone: (CST, +0800)
07/11 15:44:42.395124 00005601 UTL locale: zh_CN.UTF-8
07/11 15:44:42.395127 00005601 UTL charset: UTF-8
07/11 15:44:42.395131 00005601 UTL maxShellConns: 50000
07/11 15:44:42.395134 00005601 UTL maxConnections: 5000
07/11 15:44:42.395138 00005601 UTL minimalLogDirGB: 1.000000(GB)
07/11 15:44:42.395142 00005601 UTL minimalTmpDirGB: 1.000000(GB)
07/11 15:44:42.395145 00005601 UTL minimalDataDirGB: 2.000000(GB)
07/11 15:44:42.395149 00005601 UTL mnodeEqualVnodeNum: 4
07/11 15:44:42.395152 00005601 UTL flowctrl: 1
07/11 15:44:42.395156 00005601 UTL slaveQuery: 1
07/11 15:44:42.395159 00005601 UTL adjustMaster: 1
07/11 15:44:42.395162 00005601 UTL http: 1
07/11 15:44:42.395166 00005601 UTL monitor: 1
07/11 15:44:42.395169 00005601 UTL audit: 0
07/11 15:44:42.395172 00005601 UTL stream: 1
07/11 15:44:42.395176 00005601 UTL topicBinaryLen: 16000
07/11 15:44:42.395179 00005601 UTL httpEnableRecordSql: 0
07/11 15:44:42.395183 00005601 UTL telegrafUseFieldNum: 0
07/11 15:44:42.395186 00005601 UTL httpMaxThreads: 2
07/11 15:44:42.395189 00005601 UTL restfulRowLimit: 10240
07/11 15:44:42.395193 00005601 UTL httpDbNameMandatory: 0
07/11 15:44:42.395197 00005601 UTL httpKeepAlive: 30000
07/11 15:44:42.395201 00005601 UTL numOfLogLines: 10000000
07/11 15:44:42.395206 00005601 UTL logKeepDays: 0
07/11 15:44:42.395211 00005601 UTL asyncLog: 1
07/11 15:44:42.395216 00005601 UTL debugFlag: 135
07/11 15:44:42.395220 00005601 UTL mDebugFlag: 135
07/11 15:44:42.395229 00005601 UTL dDebugFlag: 135
07/11 15:44:42.395233 00005601 UTL sDebugFlag: 135
07/11 15:44:42.395236 00005601 UTL wDebugFlag: 135
07/11 15:44:42.395239 00005601 UTL sdbDebugFlag: 135
07/11 15:44:42.395243 00005601 UTL rpcDebugFlag: 135
07/11 15:44:42.395246 00005601 UTL tmrDebugFlag: 131
07/11 15:44:42.395250 00005601 UTL cDebugFlag: 135
07/11 15:44:42.395253 00005601 UTL jniDebugFlag: 135
07/11 15:44:42.395256 00005601 UTL odbcDebugFlag: 135
07/11 15:44:42.395260 00005601 UTL uDebugFlag: 135
07/11 15:44:42.395263 00005601 UTL httpDebugFlag: 135
07/11 15:44:42.395267 00005601 UTL monDebugFlag: 135
07/11 15:44:42.395270 00005601 UTL qDebugFlag: 135
07/11 15:44:42.395273 00005601 UTL vDebugFlag: 135
07/11 15:44:42.395277 00005601 UTL tsdbDebugFlag: 135
07/11 15:44:42.395282 00005601 UTL cqDebugFlag: 135
07/11 15:44:42.395286 00005601 UTL enableRecordSql: 0
07/11 15:44:42.395289 00005601 UTL enableCoreFile: 0
07/11 15:44:42.395293 00005601 UTL gitinfo: dc5dfa4
07/11 15:44:42.395296 00005601 UTL gitinfoOfInternal: NULL
07/11 15:44:42.395300 00005601 UTL buildinfo: Built at 2022-12-23 14:14
07/11 15:44:42.395303 00005601 UTL version: 2.6.0.34
07/11 15:44:42.395307 00005601 UTL maxBinaryDisplayWidth: 30
07/11 15:44:42.395310 00005601 UTL tempDir: /tmp/
07/11 15:44:42.395314 00005601 UTL tsdbMetaCompactRatio: 0
07/11 15:44:42.395317 00005601 UTL deadLockKillQuery: 1
07/11 15:44:42.395320 00005601 UTL clientMerge: 0
07/11 15:44:42.395324 00005601 UTL aggAlways: 0
07/11 15:44:42.395327 00005601 UTL defaultJSONStrType: nchar
07/11 15:44:42.395331 00005601 UTL smlChildTableName:
07/11 15:44:42.395334 00005601 UTL smlTagNullName: _tag_null
07/11 15:44:42.395338 00005601 UTL walFlushSize: 1024(Mb)
07/11 15:44:42.395341 00005601 UTL shortcutFlag: 0
07/11 15:44:42.395344 00005601 UTL probeSeconds: 300
07/11 15:44:42.395348 00005601 UTL probeKillSeconds: 600
07/11 15:44:42.395351 00005601 UTL probeInterval: 40
07/11 15:44:42.395355 00005601 UTL maxSqlGroups: 1000000
07/11 15:44:42.395358 00005601 UTL sortWhenGroupBy: 1
07/11 15:44:42.395361 00005601 UTL queryRssThreshold: 0
07/11 15:44:42.395365 00005601 UTL lossyColumns:
07/11 15:44:42.395368 00005601 UTL fPrecision: 0.000000
07/11 15:44:42.395372 00005601 UTL dPrecision: 0.000000
07/11 15:44:42.395376 00005601 UTL maxRange: 500
07/11 15:44:42.395379 00005601 UTL range: 100
07/11 15:44:42.395383 00005601 UTL writeBatchThreadLocal: 0
07/11 15:44:42.395386 00005601 UTL writeBatchSize: 0
07/11 15:44:42.395390 00005601 UTL writeBatchTimeout: 10
07/11 15:44:42.395394 00005601 UTL os pageSize: 4096(KB)
07/11 15:44:42.395397 00005601 UTL os openMax: 65535
07/11 15:44:42.395400 00005601 UTL os streamMax: 16
07/11 15:44:42.395404 00005601 UTL os numOfCores: 1
07/11 15:44:42.395407 00005601 UTL os totalMemory: 3582(MB)
07/11 15:44:42.395412 00005601 UTL os sysname: Linux
07/11 15:44:42.395415 00005601 UTL os nodename: slave-beiwei-shanghai-l
07/11 15:44:42.395419 00005601 UTL os release: 5.10.134-13.al8.x86_64
07/11 15:44:42.395422 00005601 UTL os version: #1 SMP Mon Jan 9 10:50:49 CST 2023
07/11 15:44:42.395425 00005601 UTL os machine: x86_64
07/11 15:44:42.395429 00005601 UTL dataDir: /var/lib/taos
07/11 15:44:42.395433 00005601 UTL ==================================
07/11 15:44:42.395436 00005601 DND step:dnode-globalcfg is initialized
07/11 15:44:42.395464 00005601 TFS disk /var/lib/taos is mounted to tier level 0 id 0
07/11 15:44:42.395516 00005601 DND ERROR failed to lock file:/var/lib/taos/dnode/.running ret:-1[Resource temporarily unavailable], database may be running, quit
taosdlog.zip

@zyj-nanjing zyj-nanjing added the bug Something isn't working label Jul 11, 2023
@sangshuduo
Copy link
Contributor

把 /var/lib/taos/dnode/.running 删掉重启服务试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants