Skip to content
New issue

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

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

Already on GitHub? # to your account

No 'total_system_memory' section received from redis. Unable to calculate the current memory usage #187

Open
hiddenalpha opened this issue Jun 17, 2024 · 3 comments

Comments

@hiddenalpha
Copy link
Member

hiddenalpha commented Jun 17, 2024

(internal reference: SDCISA-16328)

Do we need some fix for DefaultMemoryUsageProvider? Cited from logs:

2024-06-17T10:10:09,734 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:10:09,734 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:10:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:10:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:11:09,734 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:11:09,735 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:11:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:11:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:12:09,733 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:12:09,736 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:12:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:12:09,740 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:13:09,733 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:13:09,733 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:13:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:13:09,739 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:14:09,732 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:14:09,732 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:14:09,738 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage
2024-06-17T10:14:09,738 int houston WARN DefaultMemoryUsageProvider - No 'total_system_memory' section received from redis. Unable to calculate the current memory usage

~16'000 more occurrences can be found in attached log.

@mcweba
Copy link
Collaborator

mcweba commented Jun 21, 2024

What redis version do you use? Try to connect with redis-cli and execute INFO. You should get an entry called total_system_memory

@hiddenalpha
Copy link
Member Author

hiddenalpha commented Jun 21, 2024

Bad luck :(   Seems as this environment isn't setup for such analysis:

$ cat /etc/hostname
houston-0
$ echo $PAISA_ENV
int
$ redis-cli
bash: redis-cli: command not found

Don't know how I can access that information in this case. Maybe one of @Kusig @thwint @ljucam can provide the info requested in #187 (comment) ?

@mcweba
Copy link
Collaborator

mcweba commented Jun 21, 2024

You could also add a TRACE log for String memoryInfo = memoryInfoEvent.result().toString(); if you don't have access to redis-cli

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants