CodeIgniter Forums
CI3 - Memcached obtaining lock error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: CI3 - Memcached obtaining lock error (/showthread.php?tid=62263)



CI3 - Memcached obtaining lock error - Zelf - 06-25-2015

I have CI 2 running on same server and using memcached no problems.

With CI3, using same memcached server and setup I'm getting the following error:

Session: Error while trying to obtain lock for ci_session:be440cbaad59f81d8a1299c9a9638db7b0fcf58a

What lock is CI trying to obtain? Is this a bug, am I missing something? I've been using memcached for years on magento, and CI 2. Seems a strange error in CI3.


RE: CI3 - Memcached obtaining lock error - Narf - 06-26-2015

CI2 doesn't have Memcached sessions ...


RE: CI3 - Memcached obtaining lock error - Zelf - 06-26-2015

(06-26-2015, 03:01 AM)Narf Wrote: CI2 doesn't have Memcached sessions ...

That's correct. I installed a native php session library and set the session save path for memcached, etc. So using native php session handling memcached works just fine. In CI3, it doesn't work at all on my system. On the same server I have magento running and WP, all using memcached and no lock error issues.

Also, no points for helping me with my issue, but thanks for pointing out that CI2 does not have memcached. I guess. Smile