Update redis* to valkey* in syscheck.c (#365)
Fixes #352 Signed-off-by: hwware <wen.hui.ware@gmail.com>
This commit is contained in:
parent
be81469cde
commit
2864fffe73
@ -127,7 +127,7 @@ int checkXenClocksource(sds *error_msg) {
|
||||
} else if (strcmp(curr, "xen") == 0) {
|
||||
*error_msg = sdsnew(
|
||||
"Your system is configured to use the 'xen' clocksource which might lead to degraded performance. "
|
||||
"Check the result of the [slow-clocksource] system check: run 'redis-server --check-system' to check if "
|
||||
"Check the result of the [slow-clocksource] system check: run 'valkey-server --check-system' to check if "
|
||||
"the system's clocksource isn't degrading performance.");
|
||||
res = -1;
|
||||
}
|
||||
@ -180,10 +180,10 @@ int checkTHPEnabled(sds *error_msg) {
|
||||
if (strstr(buf,"[always]") != NULL) {
|
||||
*error_msg = sdsnew(
|
||||
"You have Transparent Huge Pages (THP) support enabled in your kernel. "
|
||||
"This will create latency and memory usage issues with Redis. "
|
||||
"This will create latency and memory usage issues with Valkey. "
|
||||
"To fix this issue run the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, "
|
||||
"and add it to your /etc/rc.local in order to retain the setting after a reboot. "
|
||||
"Redis must be restarted after THP is disabled (set to 'madvise' or 'never').");
|
||||
"Valkey must be restarted after THP is disabled (set to 'madvise' or 'never').");
|
||||
return -1;
|
||||
} else {
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user