Ubiquiti Controller VM - how much RAM is yours using?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

MiniKnight

Well-Known Member
Mar 30, 2012
3,072
973
113
NYC
I have a Ubiquiti controller VM under Proxmox KVM. Its currently using like 3.1GB of RAM and its only doing the UBNT software. Is anyone else seeing memory usage like that?
 

CreoleLakerFan

Active Member
Oct 29, 2013
485
180
43
I had the Ubiquiti controller running under an OpenBSD VM with 1GB and it ran fine. I have it on a Windows VM temporarily) with 4GB and no issues here, either.
 
  • Like
Reactions: T_Minus

PigLover

Moderator
Jan 26, 2011
3,186
1,545
113
I'm running it in an Ubuntu VM under Proxmox. I've noticed that it seems happy to consume whatever RAM you give it. If you give it 4GB then it will use most/all of it. If you give it less it uses less. No idea what the greedy part of it is - but I suspect it is the crappy JVM (since its a big java program).

I started like I do for other VMs - using dynamic memory to let it figure out what it needs for itself. I gave it a 1GB start and a 4GB max. But it always grew to max and stayed there. So I chopped it to a fixed 1GB and it has been happy for many moons.
 

sporker

New Member
Jan 24, 2017
14
0
1
Canada
I'm running it on Ubuntu server with 1G of ram. As a VM under Hyper-V. It has been up for 60 days, 6 AP's connected.
mem used:423mb
swap used: 198mb

Haven't had any issues, seems to run fine. As PigLover said, it will probably just eat up whatever you give it.
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,513
5,804
113
Look what I just saw with Docker on FreeNAS Corral
upload_2017-3-17_14-44-56.png

There we go.
 

IamSpartacus

Well-Known Member
Mar 14, 2016
2,516
650
113
I've been running my unifi controller in a docker for almost 2 years now. It runs inside of an Ubuntu VM along with 8-10 other dockers and the entire VM has 8GB allocated to it. I haven't seen high RAM usage on the VM at all.
 

PigLover

Moderator
Jan 26, 2011
3,186
1,545
113
v5.4.11 is likely too old if you picked up any of the recently released / recent beta products (the US-16-XG POS that still won't do 10Gbase-t right yet or the apparently pretty good AP-AC HD).
 
  • Like
Reactions: Patrick

Patrick

Administrator
Staff member
Dec 21, 2010
12,513
5,804
113
v5.4.11 is likely too old if you picked up any of the recently released / recent beta products (the US-16-XG POS that still won't do 10Gbase-t right yet or the apparently pretty good AP-AC HD).
My home FreeNAS where I use the Ubiquiti controller is still on 9.10 as it is resisting the Corral upgrade the best it can. However, 5.4.11 can see a US-16G-XG POS:
upload_2017-3-17_15-37-46.png
 

nitrobass24

Moderator
Dec 26, 2010
1,087
131
63
TX
Running it on an Ubuntu vm. 1 core 512MB of RAM. No issues. It uses MongoDB so it will eat as much RAM as you give it.


Sent from my iPhone using Tapatalk
 

wildchild

Active Member
Feb 4, 2014
389
57
28
In the 5.5.1 - 5.5.5 there was an issue with memory hoaging.
Make sure you upgrade.
Don't downgrade to 5.4.x, as it will corrupt things.
If you do want to go back to the 5.4.x, take a site backup, do a clean install and restore the site.

In my home it's running 5.5.7 on 2 gb, corp we're running 5.4.12 on 8 gb, but that is scaled to alot of ap's
 

sean

Member
Sep 26, 2013
67
33
18
CT
I have it on a Debian 8 VM with 512 MB allocated toward it. Checking free and it says everything is used but half of it is for cache. I'm not running the MongoDB service though because the controller runs its own instance.
 

tomaash

Active Member
Oct 11, 2016
110
53
28
Europe, Slovakia
Mine eats almost everything I gave it - which is not a lot. OpenBSD 6.0 with 512MB+200MB swap, leaves 31M free, 81M cache.
Seems to run fine, though.
 

DaveBC

New Member
Apr 7, 2015
20
5
3
42
I didn't realize until now how old mine is. I have 4.8.14 on server 2012 R2 with 2GB allocated. 850MB in use, 1130MB Standby, 64MB Free.
 

natelabo

Member
Jun 29, 2016
64
3
8
54
Windows Server 2016, 2 procs, 1GB RAM... Every 2-3 days it has a message saying that it failed to start... but it continues to log during this time?