Question about cache

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

Re: Question about cache

Post by admin »

No, html only

It does actually. You just have a lot of data
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 »

How do I exactly calculate the amount of data because html files are dynamically created on sites. Is there any way to find out?
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

I dont think there's a way to calculate exact amount
But you can calculate aprox. amount (read wiki article i sent you before)
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,

1.) How do I check size of 1 page, for example index page of a site?
2.) Lets say for example I have 50 GB data (total 10 sites) and max memory in redis is set at 25 GB, in this case will I get OOM or Timeout errors?
3.) If I set max memory parameter to 25 GB do I need to set something on maxmemory-policy?

Please let me know.
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

1. https://lmgtfy.com/?q=How+do+I+check+si ... +of+a+site

2. did you read a link I sent you about old records being deleted?

3. sorry i didn't get this question ...
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 »

Yes I did, right now I have not set max memory on redis server , when redis reaches about 25 GB sites slow down and throw error that cannot connect to Redis server, but I see 40 GB free ram on server..After Redis server is restarted then sites start working fine. For some reason the old records do not get deleted automatically. In this kind of situation what do you think I should do?
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

Why do you think old records are not deleted?
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 »

Because everyday the usuage of Redis going up by 20 GB
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about cache

Post by admin »

Why do you think you have less data to cache?

what's the size of your gallery and how many galleries do you have?
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, actually its 20 sites, each site has about 10-15k galleries. Based on estimate calculation looks like even 128 GB RAM will not be enough.
Post Reply