I am guessing maybe there is an issue with the redis-server?
The log I received from Daphne:
2019-02-18 21:07:54,543 ERROR Error trying to receive messages: Error running script (call to f_3640886a0c8901ca9188f5f7a5f7a346145b9c5f): @user_script:3: @user_script: 3: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
So I check redis log:
[1418] 18 Feb 16:09:27.071 * 1 changes in 900 seconds. Saving...
[1418] 18 Feb 16:09:27.072 * Background saving started by pid 2834
[2834] 18 Feb 16:09:27.073 # Failed opening .rdb for saving: Permission denied
[1418] 18 Feb 16:09:27.172 # Background saving error
I searched ways to solve the problem and set the permission of .rdb to 777. But still has this error in redis log.
I also find I cannot shutdown and restart redis.
When I type redis-server in the command line, the log info:
[2892] 18 Feb 16:14:32.457 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[2892] 18 Feb 16:14:32.459 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
[2892] 18 Feb 16:14:32.459 # Creating Server TCP listening socket *:6379: bind: Address already in use
These are the redis processes running:
redis-ser 1418 redis 4u IPv6 14515 0t0 TCP *:6379 (LISTEN)
redis-ser 1418 redis 5u IPv4 14516 0t0 TCP *:6379 (LISTEN)
redis-ser 1418 redis 6u IPv6 203617 0t0 TCP localhost:6379->localhost:34108 (ESTABLISHED)
redis-ser 1418 redis 7u IPv6 202944 0t0 TCP localhost:6379->localhost:34104 (ESTABLISHED)