Reply
New Member
Posts: 18
Registered: ‎02-17-2016

Voucher System Problem on VM

Hi,

 

We have a unifi Controller running on a virtual linux machine (Digital Ocean). Specs: 1GB RAM, 1vCPU, 20GB SSD.

 

Controller Version: 5.9.29

 

We have about 15 sites with combined total of 70 AP's running on the controller.

 

The issues we are getting are with the Voucher system.

 

  • Guests gets kicked off and then need to reconnect.
  • Some guests don't get the voucher splash page to apear. (or it just takes very very long to apear)

Please help.

Senior Member
Posts: 16,460
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Voucher System Problem on VM

Hello @justplainit,

 

1GB ram for 15 sites and 70 UAPs?

Upgrade the VM and allocate more ram to UniFi.

 

 

Regards,
Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 18
Registered: ‎02-17-2016

Re: Voucher System Problem on VM

Just did an upgrade to 2GB RAM.

 

Lets hope this works?

Senior Member
Posts: 16,460
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Voucher System Problem on VM

Hello @justplainit,

 

Did you allocate more RAM to UniFi?

I would say around 1500MB should be nice.

 

Personally say that 2GB is still at the LOW side for 70 devices.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 18
Registered: ‎02-17-2016

Re: Voucher System Problem on VM

I checked Digital Ocean's logs. The memory has not yet reached 90% of capacity in the past.

 

How do I allocate RAM for unifi?

 

It is only unifi running on the VM, nothing else.

Senior Member
Posts: 16,460
Registered: ‎08-04-2017
Kudos: 3006
Solutions: 810

Re: Voucher System Problem on VM

[ Edited ]

Hello @justplainit,

 

Run the following commands to allocate 1500MB to UniFi.

echo "unifi.xmx=1500" >> /usr/lib/unifi/data/system.properties
echo "unifi.xms=1500" >> /usr/lib/unifi/data/system.properties
service unifi restart

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-VoIP Installation Scripts
USG-4-PRO • USG
USW-48-500W • USW-24-POE-250W 2x • USW-16-POE-150W 3x • USW-24 • USW-8-150W • USW-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M
UCK-G2-PLUS • UCK-G2 • UCK
Reply