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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Does a redis resets/forget his max-memory policy?

Does a redis resets/forget his max-memory policy?

Scheduled Pinned Locked Moved Unsolved Support
redis
5 Posts 3 Posters 38 Views 3 Watching
  • 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.
  • T
    T
    tobiasb
    wrote last edited by joseph
    #1

    Since Cloudron v10 it is possible to set the redis maxmemoryPolicy via manifest.

    We use redis for caching and set the allkeys-lru maxmemoryPolicy, but today since cloudron updated to 10.0.4, it seems the policy was reset to his default maxmemory-policy. The app could not caching anymore, because it reached the maxmemory, which can not happen with the policy.

    J 1 Reply Last reply
    1
    • T tobiasb

      Since Cloudron v10 it is possible to set the redis maxmemoryPolicy via manifest.

      We use redis for caching and set the allkeys-lru maxmemoryPolicy, but today since cloudron updated to 10.0.4, it seems the policy was reset to his default maxmemory-policy. The app could not caching anymore, because it reached the maxmemory, which can not happen with the policy.

      J
      J
      joseph
      Staff
      wrote last edited by joseph
      #2

      @tobiasb can you inspect the redis container docker inspect <id> . It should have an env var named CLOUDRON_REDIS_MAXMEMORY_POLICY . Or you can docker exec the redis container and check env output.

      1 Reply Last reply
      1
      • T
        T
        tobiasb
        wrote last edited by
        #3

        I verify on another instance that cloudron did not set the maxmemoryPolicy/persistent config on a deployment, it was necessary to resave the redis service.

        1 Reply Last reply
        1
        • girishG
          girishG
          girish
          Staff
          wrote last edited by
          #4

          Ah, this is probably a bug that policy changes are not applied on reconfigure . Should we consider this solved though? Since it's not very useful to go back and fix this.

          1 Reply Last reply
          0
          • T
            T
            tobiasb
            wrote last edited by
            #5

            I’ll be happy, when the policy and persistent config are kept on cloudron updates or when I install new app with such redis config and cloudron sets this as an initial config. However, this should also be documented on the add-on page.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search