ERPNext Conference 2019* ERPNext.com Blog

Erpnext server not run generating redis error


#1

l 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.
11:00:05 redis_cache.1 | 3584:M 28 Aug 11:00:05.183 * The server is now ready to accept connections on port 13000
11:00:05 system | worker_default.1 started (pid=3578)
11:00:05 system | watch.1 started (pid=3590)
11:00:05 system | schedule.1 started (pid=3571)
11:00:05 system | worker_short.1 started (pid=3593)
11:00:05 system | sending SIGTERM to redis_socketio.1 (pid 3561)
11:00:05 system | sending SIGTERM to worker_long.1 (pid 3557)
11:00:05 system | sending SIGTERM to watch.1 (pid 3590)
11:00:05 system | sending SIGTERM to redis_queue.1 (pid 3572)
11:00:05 system | sending SIGTERM to web.1 (pid 3564)
11:00:05 system | sending SIGTERM to schedule.1 (pid 3571)
11:00:05 system | sending SIGTERM to worker_default.1 (pid 3578)
11:00:05 system | sending SIGTERM to redis_cache.1 (pid 3573)
11:00:05 system | sending SIGTERM to worker_short.1 (pid 3593)
11:00:05 redis_socketio.1 | 3566:signal-handler (1566970205) Received SIGTERM scheduling shutdown…
11:00:05 redis_queue.1 | 3580:signal-handler (1566970205) Received SIGTERM scheduling shutdown…
11:00:05 system | worker_long.1 stopped (rc=-15)
11:00:05 system | watch.1 stopped (rc=-15)
11:00:05 redis_queue.1 | 3580:M 28 Aug 11:00:05.279 # User requested shutdown…
11:00:05 redis_queue.1 | 3580:M 28 Aug 11:00:05.279 # Redis is now ready to exit, bye bye…
11:00:05 system | redis_queue.1 stopped (rc=-15)
11:00:05 system | web.1 stopped (rc=-15)
11:00:05 redis_cache.1 | 3584:signal-handler (1566970205) Received SIGTERM scheduling shutdown…
11:00:05 system | worker_default.1 stopped (rc=-15)
11:00:05 system | worker_short.1 stopped (rc=-15)
11:00:05 redis_cache.1 | 3584:M 28 Aug 11:00:05.285 # User requested shutdown…
11:00:05 redis_cache.1 | 3584:M 28 Aug 11:00:05.285 # Redis is now ready to exit, bye bye…
11:00:05 system | redis_cache.1 stopped (rc=-15)
11:00:05 system | schedule.1 stopped (rc=-15)
11:00:05 redis_socketio.1 | 3566:M 28 Aug 11:00:05.350 # User requested shutdown…
11:00:05 redis_socketio.1 | 3566:M 28 Aug 11:00:05.350 # Redis is now ready to exit, bye bye…
11:00:05 system | redis_socketio.1 stopped (rc=-15)


#2

sudo supervisorctl restart all

should help