Question about cache

admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

So you can limit how much memory it consumes
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about cache

Post by tubeman »

If it requires 100 GB and I limit it to 50GB then what happens?
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

old records gets deleted by new ones

Did you read that link? )
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about cache

Post by tubeman »

Hi, I have given Redis 60 GB RAM but still I get this error after few days on sites:

OOM command not allowed when used memory > 'maxmemory'.

Any idea why this error would happen?
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about cache

Post by tubeman »

Hi, Do you know how to optimize the requests and timeouts on Redis? Sites connecting To redis server makes that server very overloaded at times and after we restart Redis the load goes down, whenever we restart Redis traffic on sites go down and take a day to recover.
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

It's hard to say it as a couple of phases .. did you try to read something about it as their forum?
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about cache

Post by tubeman »

Do you have experience or know anyone who is good with tuning Redis for very high traffic?
admin
Site Admin
Posts: 37242
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

Sorry no
lets try to solve the issue here
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about cache

Post by tubeman »

Hi,
Here is what admin said:

"The total usage of server for delivering content to your customers is about 200Mbits in the peak time, but Redis usage only for https://domain.com/ overload 1Gbit interface which is 5 times higher, also after restart the load drops down on the webserver and pages start to work properly. It looks like the Redis just ads additional load after some time and making your sites unavailable. So the webserver just loaded by some "cache" job, but not by delivering the content to your customers."

domain.com does have alot of traffic but I cannot imagine how it would overload a 1Gbit interface. Is there any way to debug or find whats causing this issue on Redis server. I have also assigned 150 GB memory to Redis (Based on calculation of html files of sites it was roughly 60-70 GB of data) and assigned memory-policy to as allkeys-lru to remove any key according to the LRU algorithm.
Post Reply