mcpc31
Forum Replies Created
-
Forum: Plugins
In reply to: [Redis Object Cache] Not sure if i set up the memory correctlyHello,
Yes, setting
maxmemory-policy
to anything other thannoeviction
is great to prevent your Redis Server running out of memoryThanks, 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 ?
Forum: Plugins
In reply to: [Redis Object Cache] Not sure if i set up the memory correctlyI 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 ?<main id=”main” class=”site-main” role=”main”></main>I don’t understand the question. Please be specific.
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
Forum: Plugins
In reply to: [Redis Object Cache] Not sure if i set up the memory correctlyIt 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.