polyledger/connect

Postgres and Redis log warnings during `docker-compose up` command

Closed this issue · 0 comments

Description

Specifically, see:

Redis warnings

redis         | 1:C 11 May 22:52:08.307 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis         | 1:M 11 May 22:52:08.309 # 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.
redis         | 1:M 11 May 22:52:08.309 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.

Django/Celery warnings

server        | 2018-05-11 22:52:10,164 CRIT Supervisor running as root (no user in config file)
server        | [2018-05-11 22:52:15,882: WARNING/MainProcess] /usr/local/lib/python3.6/site-packages/celery/fixups/django.py:202: UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!

^ This one can be ignored in development.