• Resolved timholz

    (@timholz)


    Hi – redis is installed, but debug.log says: W3TC\Cache_Redis::_get_accessor: Connection refused

    I read that i have to use something like /var/run/redis/redis.sock but this test also fails. Redis is available in page database and object cache. I couldn’t find something easy to understand. How can i setup redis? regards – theo

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter timholz

    (@timholz)

    Ok, this is not working. I’ll deinstall w3tc. Regards – theo

    • This reply was modified 2 weeks, 6 days ago by timholz.
    Thread Starter timholz

    (@timholz)

    So many installations and no decent information how to use redis with w3tc. Pity

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @timholz

    Thank you for reaching out and I am happy to help!
    This means W3 Total Cache (W3TC) is trying to connect to your Redis server for caching, but it can’t establish a connection.
    So the Redis may be installed but not running propperly on your server:

    Verify Redis is running

    On your server, run: redis-cli ping

    If you get Could not connect to Redis, then Redis isn’t running or is misconfigured.

    To start it: sudo systemctl start redis or sudo service redis-server start
    You can first try to simply restart sudo systemctl restart redis

    Let me know if this helps!

    Thanks!

    Thread Starter timholz

    (@timholz)

    Hi @vmarko, sorry, if i was impatient. Compability test says: Redis installed. But the real issue is, that my provider says, that i can’t use it on a shared hosting. Theoretically other clients could see what is going on. Now, the other option for db- and object-cache is disk and that is dangerous for the server could be over burdened. For the moment i leave it on disk for db- and object cache. My provider says that i get tons of errors in the error.log, when redis is selected. Not ideal. But anyway thanks a lot for your care. Now it is clear why i couldn’t get it to work. regards – theo

    • This reply was modified 2 weeks, 4 days ago by timholz.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hey @timholz

    Thank you for your feedback and the clarification.

    I would suggest to leave the Object Caching and DB Caching disabled.

    Please note that using those features with the Disk caching method can cause a lot of files to be created, as implied in the description within the plugin

    I hope this helps!

    Thread Starter timholz

    (@timholz)

    Hi @vmarko – thanks a lot for your proposition and care. All the best. regards – theo

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @timholz

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.