Skip to content

Commit 3408e3d

Browse files
authored
fix(redis): Increase file descriptors to 10032 (#681)
@xbenjii reported the following error on #629: >You requested maxclients of 10000 requiring at least 10032 max file descriptors. Increasing this limit by default makes sense to make Redis more available to heaveier loads.
1 parent 7446469 commit 3408e3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ services:
5656
image: 'redis:5.0-alpine'
5757
volumes:
5858
- 'sentry-redis:/data'
59+
ulimits:
60+
nofile:
61+
soft: 10032
62+
hard: 10032
63+
5964
postgres:
6065
<< : *restart_policy
6166
image: 'postgres:9.6'

0 commit comments

Comments
 (0)