Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mcpc31

    (@mcpc31)

    Hello,

    Yes, setting maxmemory-policy to anything other than noeviction is great to prevent your Redis Server running out of memory

    Thanks, i hope eveything will be fine now

    To disable Redis safely you can call redis-cli FLUSHALL to ensure there is not stale data in Redis Server.

    Thanks, but i still can’t see some changes i made in my woocommerce products if i disable redis. Is it normal ?

    Actually i worked a lot to optimize mysql, but the solution was to setup WP_MEMORY_LIMIT at more than 40M. I tried with 512M but it created a lot of error with Redis :

    AH01071: Got error 'PHP message: RedisException: OOM command not allowed when used memory > 'maxmemory'.

    As i have set my Redis maxmemory to 1024M, i don’t understand the message. So, i put WP_MEMORY_LIMIT at 256M. I don’t have anymore OOM messages, my WPML queries are sent (it was one of my problem). So i guess it’s a good balance ?

    Thread Starter mcpc31

    (@mcpc31)

    <main id=”main” class=”site-main” role=”main”>
    • I don’t understand the question. Please be specific.

    </main>
    I switched config from maxmemory-policy noeviction to maxmemory-policy volatile-ttl. By 2 times, redis seemed to be blocked and crasdhed my website. I try to make it not crash, so i ask if the right solution is to set maxmemory-policy like that ?

    Disable what? Please be specific.

    I want to try to not use redis to see how my site will work. If i just turn it off from the plugins settings, some attributes disappear from my products. How can i remove redis safely ?

    Thanks in advance,

    Regards,

    Pierre

    Thread Starter mcpc31

    (@mcpc31)

    It looks like WP config and server config are not linked. Can you help me with that ?

    Thanks for your answer, I meant that it looks like the changes i make on the config file in the serveur doesn’t change anything in WP plugin.

    So it means that if i did the right changes (like giving a value to eviction) the site will not stop working but i may loose some datas ?

    Any tips to help me to disable it (for a try) without loosing datas ?

    Thanks for your answer,

    Regards,

    Pierre.

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