17:52:24 system | worker_long.1 started (pid=19760)
17:52:24 system | redis_socketio.1 started (pid=19761)
17:52:24 redis_socketio.1 | 19768:C 18 Nov 17:52:24.296 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17:52:24 redis_socketio.1 | 19768:C 18 Nov 17:52:24.296 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=19768, just started
17:52:24 redis_socketio.1 | 19768:C 18 Nov 17:52:24.296 # Configuration loaded
17:52:24 redis_socketio.1 | 19768:M 18 Nov 17:52:24.301 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
17:52:24 redis_socketio.1 | 19768:M 18 Nov 17:52:24.301 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
17:52:24 redis_socketio.1 | 19768:M 18 Nov 17:52:24.301 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
17:52:24 redis_socketio.1 | 19768:M 18 Nov 17:52:24.301 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use
17:52:24 system | redis_socketio.1 stopped (rc=1)
17:52:24 system | watch.1 started (pid=19767)
17:52:24 system | redis_queue.1 started (pid=19763)
17:52:24 redis_queue.1 | 19769:C 18 Nov 17:52:24.299 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17:52:24 redis_queue.1 | 19769:C 18 Nov 17:52:24.299 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=19769, just started
17:52:24 redis_queue.1 | 19769:C 18 Nov 17:52:24.299 # Configuration loaded
17:52:24 redis_queue.1 | 19769:M 18 Nov 17:52:24.308 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
17:52:24 redis_queue.1 | 19769:M 18 Nov 17:52:24.308 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
17:52:24 redis_queue.1 | 19769:M 18 Nov 17:52:24.308 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
17:52:24 redis_queue.1 | 19769:M 18 Nov 17:52:24.308 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
17:52:24 system | redis_queue.1 stopped (rc=1)
17:52:24 system | web.1 started (pid=19776)
17:52:24 system | schedule.1 started (pid=19777)
17:52:24 system | worker_default.1 started (pid=19774)
17:52:24 system | socketio.1 started (pid=19762)
17:52:24 system | worker_short.1 started (pid=19773)
17:52:24 system | redis_cache.1 started (pid=19772)
17:52:24 system | sending SIGTERM to worker_long.1 (pid 19760)
17:52:24 system | sending SIGTERM to watch.1 (pid 19767)
17:52:24 system | sending SIGTERM to web.1 (pid 19776)
17:52:24 system | sending SIGTERM to schedule.1 (pid 19777)
17:52:24 system | sending SIGTERM to worker_default.1 (pid 19774)
17:52:24 system | sending SIGTERM to socketio.1 (pid 19762)
17:52:24 system | sending SIGTERM to redis_cache.1 (pid 19772)
17:52:24 system | sending SIGTERM to worker_short.1 (pid 19773)
17:52:24 redis_cache.1 | 19790:C 18 Nov 17:52:24.411 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17:52:24 redis_cache.1 | 19790:C 18 Nov 17:52:24.411 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=19790, just started
17:52:24 redis_cache.1 | 19790:C 18 Nov 17:52:24.411 # Configuration loaded
17:52:24 redis_cache.1 | 19790:M 18 Nov 17:52:24.421 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
17:52:24 redis_cache.1 | 19790:M 18 Nov 17:52:24.421 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
17:52:24 redis_cache.1 | 19790:M 18 Nov 17:52:24.421 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
17:52:24 redis_cache.1 | 19790:M 18 Nov 17:52:24.421 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
17:52:24 system | redis_cache.1 stopped (rc=1)
17:52:24 system | socketio.1 stopped (rc=-15)
17:52:24 system | worker_long.1 stopped (rc=-15)
17:52:24 system | watch.1 stopped (rc=-15)
17:52:24 system | web.1 stopped (rc=-15)
17:52:24 system | schedule.1 stopped (rc=-15)
17:52:24 system | worker_default.1 stopped (rc=-15)
17:52:24 system | worker_short.1 stopped (rc=-15)
What is the setup and OS? What
This indicates that redis is already running. Referring to this, use redis-cli ping
to confirm
15:04:10 system | worker_long.1 started (pid=20422)
15:04:10 system | watch.1 started (pid=20426)
15:04:10 system | redis_queue.1 started (pid=20423)
15:04:10 redis_queue.1 | 20431:C 19 Nov 15:04:10.667 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15:04:10 redis_queue.1 | 20431:C 19 Nov 15:04:10.667 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=20431, just started
15:04:10 redis_queue.1 | 20431:C 19 Nov 15:04:10.667 # Configuration loaded
15:04:10 redis_queue.1 | 20431:M 19 Nov 15:04:10.683 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
15:04:10 redis_queue.1 | 20431:M 19 Nov 15:04:10.683 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
15:04:10 redis_queue.1 | 20431:M 19 Nov 15:04:10.683 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
15:04:10 redis_queue.1 | 20431:M 19 Nov 15:04:10.684 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
15:04:10 system | redis_queue.1 stopped (rc=1)
15:04:10 system | redis_socketio.1 started (pid=20428)
15:04:10 redis_socketio.1 | 20437:C 19 Nov 15:04:10.688 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15:04:10 redis_socketio.1 | 20437:C 19 Nov 15:04:10.688 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=20437, just started
15:04:10 redis_socketio.1 | 20437:C 19 Nov 15:04:10.688 # Configuration loaded
15:04:10 redis_socketio.1 | 20437:M 19 Nov 15:04:10.689 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
15:04:10 redis_socketio.1 | 20437:M 19 Nov 15:04:10.689 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
15:04:10 redis_socketio.1 | 20437:M 19 Nov 15:04:10.689 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
15:04:10 redis_socketio.1 | 20437:M 19 Nov 15:04:10.689 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use
15:04:10 system | redis_socketio.1 stopped (rc=1)
15:04:10 system | web.1 started (pid=20424)
15:04:10 system | socketio.1 started (pid=20442)
15:04:10 system | schedule.1 started (pid=20425)
15:04:10 system | worker_default.1 started (pid=20433)
15:04:10 system | redis_cache.1 started (pid=20427)
15:04:10 redis_cache.1 | 20452:C 19 Nov 15:04:10.786 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15:04:10 redis_cache.1 | 20452:C 19 Nov 15:04:10.786 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=20452, just started
15:04:10 redis_cache.1 | 20452:C 19 Nov 15:04:10.786 # Configuration loaded
15:04:10 redis_cache.1 | 20452:M 19 Nov 15:04:10.796 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
15:04:10 redis_cache.1 | 20452:M 19 Nov 15:04:10.796 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
15:04:10 redis_cache.1 | 20452:M 19 Nov 15:04:10.796 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
15:04:10 redis_cache.1 | 20452:M 19 Nov 15:04:10.796 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
15:04:10 system | redis_cache.1 stopped (rc=1)
15:04:10 system | worker_short.1 started (pid=20439)
15:04:10 system | sending SIGTERM to worker_long.1 (pid 20422)
15:04:10 system | sending SIGTERM to watch.1 (pid 20426)
15:04:10 system | sending SIGTERM to web.1 (pid 20424)
15:04:10 system | sending SIGTERM to schedule.1 (pid 20425)
15:04:10 system | sending SIGTERM to worker_default.1 (pid 20433)
15:04:10 system | sending SIGTERM to socketio.1 (pid 20442)
15:04:10 system | sending SIGTERM to worker_short.1 (pid 20439)
15:04:10 system | schedule.1 stopped (rc=-15)
15:04:10 system | socketio.1 stopped (rc=-15)
15:04:10 system | worker_long.1 stopped (rc=-15)
15:04:10 system | watch.1 stopped (rc=-15)
15:04:10 system | web.1 stopped (rc=-15)
15:04:10 system | worker_default.1 stopped (rc=-15)
15:04:10 system | worker_short.1 stopped (rc=-15)
Try this…
echo fs.inotify.max_user_watches=262144 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p;
#I have used 262144(256K) although the popular option is 524288(512K)
#I personally think this eats too much RAM, hence the half size - if it fails with ENOSPC, up it to the higher value as shown below
#echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p;
and then a bench or supervisorctl restart
It is again showing like this 16:09:41 system | worker_long.1 started (pid=25193)
16:09:41 system | redis_socketio.1 started (pid=25199)
16:09:41 redis_socketio.1 | 25203:C 19 Nov 16:09:41.756 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
16:09:41 redis_socketio.1 | 25203:C 19 Nov 16:09:41.756 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=25203, just started
16:09:41 redis_socketio.1 | 25203:C 19 Nov 16:09:41.756 # Configuration loaded
16:09:41 redis_socketio.1 | 25203:M 19 Nov 16:09:41.771 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
16:09:41 redis_socketio.1 | 25203:M 19 Nov 16:09:41.771 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
16:09:41 redis_socketio.1 | 25203:M 19 Nov 16:09:41.771 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
16:09:41 redis_socketio.1 | 25203:M 19 Nov 16:09:41.771 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use
16:09:41 system | redis_socketio.1 stopped (rc=1)
16:09:41 system | watch.1 started (pid=25201)
16:09:41 system | schedule.1 started (pid=25194)
16:09:41 system | redis_queue.1 started (pid=25209)
16:09:41 redis_queue.1 | 25225:C 19 Nov 16:09:41.953 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
16:09:41 redis_queue.1 | 25225:C 19 Nov 16:09:41.953 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=25225, just started
16:09:41 redis_queue.1 | 25225:C 19 Nov 16:09:41.953 # Configuration loaded
16:09:41 redis_queue.1 | 25225:M 19 Nov 16:09:41.954 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
16:09:41 redis_queue.1 | 25225:M 19 Nov 16:09:41.954 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
16:09:41 redis_queue.1 | 25225:M 19 Nov 16:09:41.954 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
16:09:41 redis_queue.1 | 25225:M 19 Nov 16:09:41.954 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
16:09:42 system | web.1 started (pid=25200)
16:09:42 system | worker_default.1 started (pid=25205)
16:09:42 system | redis_queue.1 stopped (rc=1)
16:09:42 system | socketio.1 started (pid=25210)
16:09:42 system | redis_cache.1 started (pid=25212)
16:09:42 redis_cache.1 | 25224:C 19 Nov 16:09:41.920 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
16:09:42 redis_cache.1 | 25224:C 19 Nov 16:09:41.920 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=25224, just started
16:09:42 redis_cache.1 | 25224:C 19 Nov 16:09:41.920 # Configuration loaded
16:09:42 redis_cache.1 | 25224:M 19 Nov 16:09:41.948 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
16:09:42 redis_cache.1 | 25224:M 19 Nov 16:09:41.948 # Server can’t set maximum open files to 10032 because of OS error: Operation not permitted.
16:09:42 redis_cache.1 | 25224:M 19 Nov 16:09:41.948 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ‘ulimit -n’.
16:09:42 redis_cache.1 | 25224:M 19 Nov 16:09:41.948 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
16:09:42 system | redis_cache.1 stopped (rc=1)
16:09:42 system | worker_short.1 started (pid=25229)
16:09:42 system | sending SIGTERM to worker_long.1 (pid 25193)
16:09:42 system | sending SIGTERM to watch.1 (pid 25201)
16:09:42 system | sending SIGTERM to web.1 (pid 25200)
16:09:42 system | sending SIGTERM to schedule.1 (pid 25194)
16:09:42 system | sending SIGTERM to worker_default.1 (pid 25205)
16:09:42 system | sending SIGTERM to socketio.1 (pid 25210)
16:09:42 system | sending SIGTERM to worker_short.1 (pid 25229)
16:09:42 system | web.1 stopped (rc=-15)
16:09:42 system | socketio.1 stopped (rc=-15)
16:09:42 system | worker_long.1 stopped (rc=-15)
16:09:42 system | schedule.1 stopped (rc=-15)
16:09:42 system | watch.1 stopped (rc=-15)
16:09:42 system | worker_default.1 stopped (rc=-15)
16:09:42 system | worker_short.1 stopped (rc=-15)
bind: Address already in use
implies that you already have a running copy - which needs to be stopped before you try to run a new instance