Hey Mike,

Tried to adjust using

unifi.xmx=2048
unifi.xms=2048

as you and others in the forum have suggested....but it seemed not to apply
when we looked at the output of ps.  We saw:

1607 ?        Sl     0:00 unifi -home /usr/lib/jvm/java-7-openjdk-amd64 -cp
> /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pidfile
> /var/run/unifi/unifi.pid -procname unifi -outfile SYSLOG -errfile SYSLOG
> -Dunifi.datadir=/var/lib/unifi -Dunifi.logdir=/var/log/unifi
> -Dunifi.rundir=/var/run/unifi -Xmx1024M -Djava.awt.headless=true
> -Dfile.encoding=UTF-8 com.ubnt.ace.Launcher start
>

We manually edited /usr/lib/unifi/bin/unifi.init to set the heap and it
applied.

Any gueses what might have caused the settings in system.properties not to
work?  I saw your comment "Just make sure not to have any characters after
each line, otherwise they
will be ignored." but we had no extra characters.  Here were the last lines
of system.properties:

#Tue Feb 07 21:51:53 UTC 2017
>
> download_timeframe=7
>
> is_default=false
>
> unifi.xms=2048
>
> unifi.xmx=2048
>
> uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
>
>
(redacted the uuid)  Happy to share the whole system.properties offlist if
that's helpful?

Thanks for the assistance!

---
Andris Bjornson | EveryLayer <http://www.everylayer.com/>
skype: andris.bjornson
_______________________________________________
Ubnt_users mailing list
[email protected]
http://lists.wispa.org/mailman/listinfo/ubnt_users

Reply via email to