EasyEngine / EasyEngine/site-command

Fix redis warnings

Aperta
#238 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
good first issue
Lingua principale
PHP
Stelle
18
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Iniziate riproducendo gli avvisi nei log di global-redis e determinate se l’host, il container o entrambi controllano le impostazioni segnalate. Verificate la configurazione del deployment di Redis e le impostazioni del kernel a cui si fa riferimento per somaxconn, vm.overcommit_memory e Transparent Huge Pages. Il lavoro è completato quando gli avvisi sono stati risolti nell’ambiente supportato e Redis si avvia senza di essi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
redis
Ambito
databases, infrastructure
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.