Hi,
I see that Redis is taking up all the cached RAM on the server, Whenever Redis is restarted alot of memory in the server gets freed up. After restart again the cached RAM usage starts growing and once it gets full in a few days the sites start throwing 502 Bad Gateway Errors. Any idea how to determine how much RAM Redis exactly needs on a server? From 64 GB I upgraded to 128 GB RAM on the server, but I see everyday the RAM usuage is going up.
Question about cache
Re: Question about cache
Hi,
you can limit memory size for Redis and it'll live within those limits
otherwise it can use up all the memory
you can limit memory size for Redis and it'll live within those limits
otherwise it can use up all the memory
Don't forget to run script update
Re: Question about cache
Hi,
If I limit the size will it affect traffic of sites in any way? Also what parameters in Redis do I ask admin to change exactly?
If I limit the size will it affect traffic of sites in any way? Also what parameters in Redis do I ask admin to change exactly?
Re: Question about cache
Don't forget to run script update
Re: Question about cache
Hi,
Thanks, the problem is that when memory is set low OOM errors start happening and I also see that at times Swap memory on server gets used. It would be really hard to calculate how much max memory 10 sites on each server would need, is there anyway to check in Redis would be the correct max memory parameter to set?
Thanks, the problem is that when memory is set low OOM errors start happening and I also see that at times Swap memory on server gets used. It would be really hard to calculate how much max memory 10 sites on each server would need, is there anyway to check in Redis would be the correct max memory parameter to set?
Re: Question about cache
ok, how do you define correct max memory ?
Don't forget to run script update
Re: Question about cache
Just assume for example 12 GB and ask admin to set max memory parameter, thats why I'm confused how much to set it to, maybe Redis needs more memory. Is there any way to check this?
Re: Question about cache
Redis itself needs 2 mb may be
the rest - is your data
the rest - is your data
Don't forget to run script update
Re: Question about cache
Does this data include thumbs on a site also? What to do when Redis does not free memory on its own?