Skip to content

Commit

Permalink
[database]: Remove hard/soft limits for client-output-buffer in redis (
Browse files Browse the repository at this point in the history
…#539)

* Remove hard/soft limits for client-output-buffer in redis

Otherwise when we have a lot of updates from orchagent to syncd latter
one can't process queues fast enough and redic-database disconnect both
orchagent and syncd. orchagent and syncd doesn't have logic to deal with
it and just crash
  • Loading branch information
pavel-shirshov authored and Shuotian Cheng committed Apr 26, 2017
1 parent ce663ba commit d083d7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-database/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ RUN sed -ri 's/^(save .*$)/# \1/g;
s/^daemonize yes$/daemonize no/; \
s/^logfile .*$/logfile ""/; \
s/^# syslog-enabled no$/syslog-enabled no/; \
s/^# unixsocket/unixsocket/ \
s/^# unixsocket/unixsocket/; \
s/^client-output-buffer-limit pubsub [0-9]+mb [0-9]+mb [0-9]+/client-output-buffer-limit pubsub 0 0 0/ \
' /etc/redis/redis.conf

ENTRYPOINT ["/usr/bin/redis-server", "/etc/redis/redis.conf"]

0 comments on commit d083d7e

Please sign in to comment.