redis错误vm.overcommit_memory&The TCP backlog setting of 511 cannot be enforced

本文解决了Redis启动时出现的两个警告:overcommit_memory设置为0可能导致背景保存失败,通过修改配置文件或直接写入sysctl参数解决;TCP backlog设置无法强制执行,通过修改somaxconn值解决。
部署运行你感兴趣的模型镜像

redis错误vm.overcommit_memory&The TCP backlog setting of 511 cannot be enforced

 

 原文:

http://skly-java.iteye.com/blog/2167400

 

错误

1.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.

 


2.WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

 


解决方法

第一个警告两个方式解决(overcommit_memory)

1.  echo "vm.overcommit_memory=1" > /etc/sysctl.conf  或 vi /etcsysctl.conf , 然后reboot重启机器

2.  echo 1 > /proc/sys/vm/overcommit_memory  不需要启机器就生效

 

第二个警告解决

1. echo 511 > /proc/sys/net/core/somaxconn

您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

hcare@appsrv:~$ ^C hcare@appsrv:~$ sudo docker logs 05ceb963f56b 1:C 04 Sep 2025 06:10:51.417 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:10:51.417 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:10:51.417 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:10:51.417 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:10:51.418 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:10:51.421 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:10:51.421 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:10:51.421 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:10:51.421 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:10:51.925 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:10:51.925 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:10:51.925 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:10:51.925 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:10:51.926 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:10:51.929 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:10:51.929 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:10:51.929 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:10:51.929 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:10:52.520 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:10:52.521 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:10:52.521 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:10:52.521 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:10:52.521 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:10:52.524 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:10:52.524 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:10:52.524 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:10:52.524 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:10:53.344 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:10:53.344 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:10:53.344 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:10:53.344 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:10:53.345 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:10:53.348 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:10:53.348 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:10:53.348 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:10:53.348 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:10:54.511 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:10:54.511 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:10:54.511 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:10:54.511 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:10:54.512 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:10:54.515 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:10:54.515 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:10:54.515 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:10:54.515 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:10:56.554 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:10:56.555 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:10:56.555 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:10:56.555 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:10:56.555 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:10:56.559 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:10:56.559 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:10:56.559 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:10:56.559 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:11:00.159 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:11:00.160 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:11:00.160 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:11:00.160 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:11:00.160 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:11:00.163 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:11:00.163 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:11:00.163 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:11:00.163 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:11:06.954 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:11:06.954 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:11:06.954 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:11:06.954 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:11:06.955 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:11:06.958 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:11:06.958 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:11:06.958 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:11:06.958 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:11:20.140 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:11:20.140 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:11:20.140 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:11:20.140 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:11:20.141 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:11:20.143 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:11:20.143 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:11:20.143 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:11:20.143 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:11:46.163 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:11:46.163 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:11:46.163 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:11:46.163 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:11:46.164 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:11:46.167 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:11:46.167 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:11:46.167 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:11:46.167 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:12:37.826 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:12:37.826 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:12:37.826 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:12:37.826 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:12:37.827 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:12:37.831 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:12:37.831 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:12:37.831 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:12:37.831 # Failed listening on port 6379 (tcp), aborting. 1:C 04 Sep 2025 06:13:38.274 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 04 Sep 2025 06:13:38.274 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 04 Sep 2025 06:13:38.274 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 04 Sep 2025 06:13:38.274 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 04 Sep 2025 06:13:38.275 * monotonic clock: POSIX clock_gettime 1:M 04 Sep 2025 06:13:38.277 * Running mode=standalone, port=6379. 1:M 04 Sep 2025 06:13:38.277 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 04 Sep 2025 06:13:38.278 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 04 Sep 2025 06:13:38.278 # Failed listening on port 6379 (tcp), aborting. 日志中的问题如何解决
最新发布
09-05
1:C 03 Sep 2025 15:49:47.543 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:47.543 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:47.543 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:47.543 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:47.544 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:47.547 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:47.547 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:47.547 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:47.547 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:49:48.008 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:48.008 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:48.008 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:48.008 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:48.009 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:48.011 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:48.011 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:48.011 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:48.011 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:49:48.581 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:48.581 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:48.581 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:48.581 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:48.582 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:48.586 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:48.586 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:48.586 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:48.586 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:49:49.375 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:49.376 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:49.376 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:49.376 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:49.376 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:49.379 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:49.379 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:49.379 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:49.379 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:49:50.538 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:50.538 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:50.538 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:50.538 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:50.539 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:50.541 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:50.541 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:50.541 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:50.541 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:49:52.498 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:52.498 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:52.498 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:52.498 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:52.498 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:52.501 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:52.501 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:52.501 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:52.501 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:49:56.089 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:49:56.089 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:49:56.089 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:49:56.089 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:49:56.090 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:49:56.093 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:49:56.093 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:49:56.093 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:49:56.093 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:50:02.928 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:50:02.928 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:50:02.928 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:50:02.928 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:50:02.929 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:50:02.932 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:50:02.932 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:50:02.932 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:50:02.932 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:50:16.147 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:50:16.147 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:50:16.147 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:50:16.147 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:50:16.148 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:50:16.150 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:50:16.150 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:50:16.151 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:50:16.151 # Failed listening on port 6379 (tcp), aborting. 1:C 03 Sep 2025 15:50:42.142 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 1:C 03 Sep 2025 15:50:42.142 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 03 Sep 2025 15:50:42.142 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 03 Sep 2025 15:50:42.142 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 03 Sep 2025 15:50:42.143 * monotonic clock: POSIX clock_gettime 1:M 03 Sep 2025 15:50:42.146 * Running mode=standalone, port=6379. 1:M 03 Sep 2025 15:50:42.147 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 03 Sep 2025 15:50:42.147 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use 1:M 03 Sep 2025 15:50:42.147 # Failed listening on port 6379 (tcp), aborting. hcare@appsrv:~$ 如何解决
09-04
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值