Skip to content

Commit

Permalink
Increase redis max open files
Browse files Browse the repository at this point in the history
  • Loading branch information
fiorix committed Jan 27, 2015
1 parent e37adf0 commit ee5d772
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/freegeoip/deploy/roles/redis/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
notify:
- restart redis

- name: Increase redis max open files
lineinfile: dest=/etc/default/redis-server line="ULIMIT=500000"
notify:
- restart redis

- name: Make sure redis is running
service: name=redis-server state=running

Expand Down

0 comments on commit ee5d772

Please sign in to comment.