I have two virtual machines running magento: one just for the frontend and one for the admin. They are connected to two Redis instances: a virtual machine for sessions (db 0 for frontend and db 1 for backend) and another one for cache (db 0 for both).

If I change configuration giving db1 for backend cache, everything works fine. Anyway there are advantages using the same db: I can control the frontend cache by the administration panel, and it get warmed sooner.

The mysql db is the same and the code is always synched between the two machines and distribution packages. Server configuration includes php7.1-fpm.

The problem: when using just one cache db, somehow an error like the following is thrown, and the sessions are cleared (keeping the same session ids): Redis configuration does not exist, falling back to MySQL handler. I see this is an error from session handler that points to a cache issue. Anyway, I see no entry in the core_session table (maybe because of Turpentine's Varnish?). What could be the cause of this issue?

Here is the local.xml configuration for both servers (the only thing that has been copied manually - configuration as suggested from CM):



1 Answer 1


This question had wrong premises. The two machines were using a different cache database on the same server: that caused the issue. If you are in the same situation, just check the configuration again and again, and be faithful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.