redisサブスクリプションクローズ異常解決

5041 ワード

クライアント接続redisエラーは次のとおりです.
2017-04-10 13:56:55.841 DEBUG RedisMessageListenerContainer:475 - Started listening for Redis messages
2017-04-10 13:56:55.845 ERROR RedisMessageListenerContainer:647 - Connection failure occurred. Restarting subscription task after 5000 ms
2017-04-10 13:57:00.847 DEBUG RedisMessageListenerContainer:475 - Started listening for Redis messages
2017-04-10 13:57:00.849 ERROR RedisMessageListenerContainer:647 - Connection failure occurred. Restarting subscription task after 5000 ms
2017-04-10 13:57:05.849 DEBUG RedisMessageListenerContainer:475 - Started listening for Redis messages
2017-04-10 13:57:05.852 ERROR RedisMessageListenerContainer:647 - Connection failure occurred. Restarting subscription task after 5000 ms
2017-04-10 13:57:10.853 DEBUG RedisMessageListenerContainer:475 - Started listening for Redis messages
2017-04-10 13:57:10.856 ERROR RedisMessageListenerContainer:647 - Connection failure occurred. Restarting subscription task after 5000 ms
/etc/redis.conf

プロファイル
client-output-buffer-limit pubsub 32mb 8mb 60

サブスクリプションキャッシュが32 MBを超えるか、60 sが8 MBを超えるとRedisサブスクリプションが閉じられ、必要に応じて数値を大きくすればよいという意味です.