Redis Warnings
Yes, I know that Redis is 3rd party and not supported by cPanel. However, there are a couple of warnings in the redis log with suggestions to fix but I need to know how to apply them without being overridden on reboot.
The warnings are:
To resolve the warenings I am supposed to add 'net.core.somaxconn=65535' and 'vm.overcommit_memory = 1' in the /etc/sysctl.conf but it is being ingnored on reboot. Any info on where to add these would be appreciated.
WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
To resolve the warenings I am supposed to add 'net.core.somaxconn=65535' and 'vm.overcommit_memory = 1' in the /etc/sysctl.conf but it is being ingnored on reboot. Any info on where to add these would be appreciated.
-
Hello Lauren, I need to back up here. Initially I edited the /ect/rc.local file to include 'sysctl -w net.core.somaxconn=65535' but that didn't work. I have now added both to /etc/sysctl.conf and now the 'net.core.somaxconn=65535' works but the 'vm.overcommit_memory = 1' doesn't. If I try to run sysctl vm.overcommit_memory=1 from terminal I get sysctl: permission denied on key 'vm.overcommit_memory'. 0 -
@Tool Outfitters Are you logged in as root? If so are you running on a VZ or OpenVZ server? 0 -
Lauren, Yes to both questions. I reckon I need to take the issue to my host. Thanks for your assistance. 0 -
Yea, on VZ servers, when you get permission denied as root it's typically because you don't have access to make modifications at the kernel level. Those items would need to get addressed on the host node. 0
Please sign in to leave a comment.
Comments
5 comments