Thursday, 19 September 2013

memcached setup for max memory and expire

memcached setup for max memory and expire

What is the optimum setup for memcached ? for example, how many MB memory
we should assign ? And also how long should we kept before it expires ? I
tried setting memcached to expire in 1 hour. The first day it's running
okay. But the next day, the server running very slow like it's running out
of memory. So I delete all cache and retry with expiration down to 10
minutes.
Is there a way to tell memcached to flush if the memory used is full ? So
not too make the whole website becoming very slow ?

No comments:

Post a Comment