• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memcached Failover on CI3 - Need Help

I'm new to CI3 and I'm building a clustered Memcached session servers.

According to the CI3 documentation, it is possible to use multiple Memcached session server but the author noted that the feature should be used on our own risk. It did not work for me as I expected and I am getting a "Session: Error while trying to obtain lock for ci_session:xxx" when I stopped the Memcached service on the first server.

It seems like the second server:port is not being used as failover. Do you guys have any ideas or workarounds that I can use to make the failover work?

// localhost will be given higher priority (5) here,
// compared to with a weight of 1.
$config['sess_save_path'] = ',';

Documentation: https://www.codeigniter.com/user_guide/l...hed-driver

Thanks in advance!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.