Skip to content

server info get wrong memory capacity #6632

@LittleFall

Description

@LittleFall

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

start tiflash, grep Available RAM in tiflash.log.

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

32G

3. What did you see instead (Required)

[2023/01/12 15:22:18.407 +08:00] [INFO] [Server.cpp:1297] ["Available RAM = 35184372088832; physical cores = 10; logical cores = 10."] [thread_id=1]

got 32T

4. What is your TiFlash version? (Required)

[2023/01/12 15:22:12.124 +08:00] [INFO] [<unknown>] ["TiFlash build info: TiFlash\nRelease Version: v6.6.0-alpha-47-gf9167f366\nEdition:         Community\nGit Commit Hash: f9167f36641360530425459c2e0e0b4ad4750841\nGit Branch:      master\nUTC Build Time:  2023-01-11 09:54:05\nEnable Features: failpoints asimd\nProfile:         Debug\n"] [thread_id=1]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions