• Resolved alinnz

    (@alinnz)


    Hello, I had installed index wp mysql and index user plugins and it went well. Performance of admin dashboard usage became pretty fast. But memory usage became increase (usual 40-45% of 4gb ram to 85%). Most memory usage is due to redis object cache. At 85% memory usage, I have to disable redis cache and reconnect. After cleaning up redis object cache, server memory went down to 35%. After that it increased slowly again upto 85% during about 24hours.

    Also, my database buffer pool size is only 125mb and database size is 3Gb. Should I increase buffer pool size or change redis configuration? Please help advice me!

    Site monitored metadata was uploaded and its id is KCQjeqMM. Thank for this awesome plugin.

    • This topic was modified 6 months ago by alinnz.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author OllieJones

    (@olliejones)

    Thanks for the uploads. I guess you run your site, including web server, php, MariaDB, and redis, on a single virtual machine with 4GiB of RAM. If that is incorrect, please let me know.

    You need to configure your redis cache server so it “evicts” data from the cache rather than just continuing to fill up your RAM. Look here https://raw.githubusercontent.com/redis/redis/7.2/redis.conf for the maxmemory and maxmemory-policy settings. With a 4GiB server I would set them as follows:

    maxmemory 512mb
    maxmemory-policy allkeys-lfu

    This will limit redis to half a GiB of RAM, which should help. That is a very big cache. (I am puzzled by redis’s use of RAM on your system, it seems high.)

    You should also increase your innodb_buffer_pool_size, as you mentioned. If I were you I would try setting it to 1GiB. This will allow a larger fraction of your content to be retrieved from the buffer pool rather than having to read it from SSD/HDD. Background. https://mariadb.com/kb/en/innodb-buffer-pool/

    Please let me know if these suggestions help you.

    Thread Starter alinnz

    (@alinnz)

    Thank for your suggestion, Sir. I will try to follow your advice.

    Plugin Author OllieJones

    (@olliejones)

    I haven’t heard back from you, so I’m marking this thread “resolved”. If I can help you further please don’t hesitate to start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.