Jump to content

REDIS configuration optimisation


Recommended Posts

Hi,

We are using IPB 4.3.6 with redis and elastic search. We have multiple servers: one for LoadBalancing and redis, 4 for php, one for Mysql and one for elastic.
We have issues with ram consumpion and swaping the redis server. We have 4 gb ram dedicated for redis, on this server we have 8gb in total.

Generally at night it statred to use more and more memory.

image.thumb.png.16e7c564559cbd54c9a5db02701368df.png

image.png.c6361b9403ab9da2f5c418f4926e09f3.png

What is wrong? How we can optimize it?

Any ideas how You have configured redis server?

Link to comment
Share on other sites

  • 3 months later...

It might caught from background tasks (some daily tasks like to run at night).

About optimisation - I just switch off all 'save' params. It can provide redis unavailable when you reach number (and volume of saving data) of request larger than you disk can write before next save trigger proceed. Other saving keys dont needed (for IPS) too. Nothing badly if for any reason you flushdb or restart it.

Link to comment
Share on other sites

  • Management

If memory usage is high, then it's probably guest pages that's causing large amounts of storage.

In 4.4, we have a constant to store guest pages in the database, thus freeing up Redis to focus on caching, datastore and sessions.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...