EasyEngine / EasyEngine/site-command

Fix redis warnings

Abierto
#238 1 comentario 0 reacciones 0 asignados Ver en GitHub
good first issue
Lenguaje dominante
PHP
Estrellas
18
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

```
1:M 27 Nov 2018 12:35:57.270 # 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 27 Nov 2018 12:35:57.270 # Server initialized
1:M 27 Nov 2018 12:35:57.270 # 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.
1:M 27 Nov 2018 12:35:57.270 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /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.
```

Getting following error in logs of global-redis.

We might need to fix it on host or container or on both.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comience reproduciendo las advertencias en los registros de global-redis y determine si el host, el contenedor o ambos controlan la configuración indicada. Compruebe la configuración del despliegue de Redis y la configuración del kernel referenciada para somaxconn, vm.overcommit_memory y Transparent Huge Pages. Se considera terminado cuando las advertencias se hayan corregido en el entorno compatible y Redis se inicie sin ellas.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
redis
Área
databases, infrastructure
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.