Created
February 27, 2013 18:31
-
-
Save mperham/5050311 to your computer and use it in GitHub Desktop.
monit causes memcached performance issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/site-cookbooks/monit/templates/default/memcached.conf.erb | |
+++ b/site-cookbooks/monit/templates/default/memcached.conf.erb | |
@@ -2,5 +2,5 @@ check process memcached | |
with pidfile /var/run/memcached.pid | |
start program = "/etc/init.d/memcached start" | |
stop program = "/etc/init.d/memcached stop" | |
- if failed port 11211 protocol memcache 4 times within 6 cycles then restart | |
+ if failed port 11211 4 times within 6 cycles then restart | |
if 5 restarts within 5 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment