MySQL Forums
Forum List  »  NDB clusters

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
Re: NDB Memcache - change memcache caching size
604
March 24, 2017 02:34AM


Sorry, you can't reply to this topic. It has been closed.

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.