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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • 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

Cloudron Forum

Apps | Demo | Docs | Install

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

Scheduled Pinned Locked Moved Vault
oom
5 Posts 2 Posters 486 Views
    • 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 Offline
    M Offline
    Mastadamus
    wrote on last edited by girish
    #1

    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
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #2

    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
    0
  • M Offline
    M Offline
    Mastadamus
    replied to girish on last edited by
    #3

    @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
    0
  • M Offline
    M Offline
    Mastadamus
    replied to girish on last edited by
    #4

    @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.

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to Mastadamus on last edited by
    #5

    @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
    0

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.