72impala
asked on
Change Memcache Allocated Cache Size
How do I adjust the default cache size for memcached? Right now it set to the default 64Mb
It seems you need to allocate the cache size via a command switch "-m" in the command that starts the memcached service.
A typical command for twice the amount of cache (128 mb) would be:
/usr/bin/memcached -d -m 128 -u root
Set the "128" to the size of cache you require.
A typical command for twice the amount of cache (128 mb) would be:
/usr/bin/memcached -d -m 128 -u root
Set the "128" to the size of cache you require.
ASKER
Ok, I ran this command /usr/local/bin/memcached -d -m 128 -u root but when I check it still says 64MB
http://freebootlegmovies.net/memcache.php?&op=1
http://freebootlegmovies.net/memcache.php?&op=1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
memcached -m <Memsize in MB>
http://linux.die.net/man/1/memcached
Open in new window