error 1
WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128
The length of the largest listening queue of each port does not meet this high-load environment and needs to be adjusted
Solution:echo 2048 > /proc/sys/net/core/somaxconn
error 2
WARNING overcommit_memory is set to 0! Background save may fail under low memory condition
Memory excess warning, setting the current memory to 0 will cause the background save to fail
Solution:
echo "vm.overcommit_memory=1" > /etc/sysctl.conf
#Refresh the configuration file to ensure it takes effect
sysctl vm.overcommit_memory=1
error 3
WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis
Enabling transparent huge page (THP) support in the kernel will cause Redis delays and memory usage issues
Solution:
echo never > /sys/kernel/mm/transparent_hugepage/enabled
error 4
Error condition on socket for SYNC: Connection reset by peer
The connection was refused because the main server may have bound its own IP address
Solution:
#Modify the master node configuration file
vim /etc/redis/6379.conf
bind 0.0.0.0 #Modify the listening address on line 70 to 0.0.0.0
Read More:
- How to Solve Redis Cluster Error: (Error) Moved
- How to Solve kubelet starts error (k8s Cluster Restarted)
- How to Solve Docker Error: elasticsearch exception: type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
- Redis Cluster Error: (error) CLUSTERDOWN Hash slot not served
- How to Solve Import antd Error: Module build failed
- How to Solve MVC Error: Build failed.
- How to Solve Windows emacs Build lisp slime error
- How to Solve Docker ERROR: Service’workspace’ failed to build: ERROR: Service’php-fpm’ failed to build
- How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”
- [Solved] Redis—-(error) MISCONF Redis is configured to save RDB snapshots
- Redis cannot double-click redis-server.exe to start normally
- How to Solve QT Error: The build directory needs to be at the same level as the source directory.
- [Solved] Error in integrating redis with springboot: unable to connect to redis
- [Solved] K8s cluster build error: error: kubectl get csr No resources found.
- Error reported when springboot connects to redis nested exception is redis.clients.jedis . exceptions.JedisConnectionException
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- [Solved] Redis Cache Error: org.springframework.data.redis.serializer.SerializationException: Could not read JSON..
- Jenkins uses NPM to build Vue error, and the manual build is normal
- How to Solve elasticsearch-7.15.1 operation errors
- Redis Exception | DENIED Redis is running in protected mode because protected mode is enabled