MySQL Forums :: NDB clusters :: NDB Memcache - change memcache caching size


Advanced Search

Re: NDB Memcache - change memcache caching size
Posted by: Joshua Gigg ()
Date: March 24, 2017 02:34AM

I've managed to work around the problem.


As mentioned before, we needed -e to pass the connection string. Doing a strace, it appears memcached doesn't use /etc/my.cnf like the others to load it's config, but it can use an environment variable.

So:

NDB_CONNECTSTRING="192.168.4.151,192.168.4.152" memcached -p 11211 -u memcached -P /var/run/memcached/memcached.pid -E /usr/lib64/ndb_engine.so -l 192.168.4.154,127.0.0.1 -v -m 256

Options: ReplyQuote


Subject Views Written By Posted
NDB Memcache - change memcache caching size 138 Joshua Gigg 03/08/2017 08:08AM
Re: NDB Memcache - change memcache caching size 47 John Duncan 03/08/2017 03:07PM
Re: NDB Memcache - change memcache caching size 46 Joshua Gigg 03/09/2017 02:47AM
Re: NDB Memcache - change memcache caching size 29 Joshua Gigg 03/24/2017 02:34AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.