Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Redis database is very large

    WordPress (Developer)
    wordpress redis
    3
    14
    191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      privsec last edited by

      So, I host a website for a customer and their REDIS database is allotted 16gb. I thought this would be very sufficient.

      However.....
      c27f79a1-9c3f-4eeb-8ff5-3e3530a90f85-image.png

      What can I do to investigate why it is consuming so much?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @privsec last edited by

        @privsec wow, that is quite a bit. Does the website use redis? How? Note that core wordpress itself doesn't use redis, so the use has to come from some plugin or website code.

        P 1 Reply Last reply Reply Quote 1
        • P
          privsec @girish last edited by

          @girish Like a caching plugin? I use WPRocket

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @privsec last edited by

            @privsec yes, possibly. Is something like https://wp-rocket.me/blog/redis-object-caching/ Setup?

            P 1 Reply Last reply Reply Quote 0
            • P
              privsec @girish last edited by

              @girish I do not. This is a static site.

              I am using wordpresss developer, upon installation, the redis extension is already installed

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @privsec last edited by

                @privsec If you restart redis, does it's memory usage go up again?

                P 1 Reply Last reply Reply Quote 0
                • P
                  privsec @girish last edited by

                  @girish sadly, it does.

                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @privsec last edited by

                    @privsec Does disabling (not uninstalling) the redis plugin cause the site to break ? I would test this in a cloned website maybe.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      privsec @girish last edited by

                      @girish ahh good idea. I’ll test and report back

                      1 Reply Last reply Reply Quote 1
                      • P
                        privsec last edited by

                        Sorry for the delay

                        So I tested the site and disabling the redis cache doesn't appear to break the site.
                        The pages load, the images load, the navigation works, user accounts work.

                        Who could I pay to have them look into the redis cache issue?
                        As there has to be a reason it is using that much space

                        1 Reply Last reply Reply Quote 0
                        • P
                          privsec last edited by

                          Here is another wrench probably...
                          So I resized my REDIS database alotment, and this is what I see now2f9642bc-b986-4905-86af-0e9a4c2610b7-image.png

                          jdaviescoates 1 Reply Last reply Reply Quote 1
                          • jdaviescoates
                            jdaviescoates @privsec last edited by

                            @privsec odd. Try reducing it even further? I shouldn't really need anywhere like that much.

                            I use Cloudron with Gandi & Hetzner

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              privsec @jdaviescoates last edited by

                              @jdaviescoates
                              I reduced it even further, it is still functioning without any issues.

                              jdaviescoates 1 Reply Last reply Reply Quote 1
                              • jdaviescoates
                                jdaviescoates @privsec last edited by

                                @privsec 512mb is the highest I've got any of mine set, and that's mostly just me ramping up things for Nextcloud in the hope it somehow speeds it up. In reality it's not even using half of that. Most I've got on any WordPress website is 256MB. But again, seemingly not even using half of that most of the time. So strange that you're went up so insanely high.

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply Reply Quote 1
                                • Topic has been marked as solved  girish girish 
                                • First post
                                  Last post
                                Powered by NodeBB