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

    Vault process running out of memory--plenty of memory available.

    Vault
    oom
    2
    5
    445
    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.
    • M
      Mastadamus last edited by girish

      Does cloudron use the vault process? If so has anyone else noticed that process running out of memory and getting killed by oom? Im getting a "memory cgroup out of memory" warning then process (vault) always getting killed.

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

        Is the server itself doing fine on memory? You can check free -m output on the server. In addition, do you see oom killing in dmesg output?

        M 2 Replies Last reply Reply Quote 0
        • M
          Mastadamus @girish last edited by

          @girish yeah server has plenty of memory. I have vault installed but I'm not actually using it yet so I'm unsure of why it's running out of memory. It's definitely getting oom killed though. I get the warning and it shows up in logs. Could it have a memory leak?
          Weird thing is it seems to not eat up any server memory just I guess wgats assigned to its container? I still have plenty of free, and cache . Like multi gb worth.

          1 Reply Last reply Reply Quote 0
          • M
            Mastadamus @girish last edited by

            @girish my Ossec agent first picked up the log , then I started watching it and very soon after reboot it will throw that warning and get oom killed.

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

              @mastadamus I will bump up the memory limit for vault. https://learn.hashicorp.com/tutorials/vault/reference-architecture says 4-8GB is recommended. Currently, the cloudron package runs at 256MB!

              Also, as you guessed, it's only the vault container that is dying and the server is not affected (I guess that's one of the main benefits of running in containers, a single app cannot bring down a system).

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB