pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Patch upgrading net/unifi from 5.5.20 to 5.8.24
On Thu, Aug 16, 2018 at 11:52:21AM +0100, Roy Marples wrote:
> On 16/08/2018 07:51, Paul Ripke wrote:
> > 5.8.28 has been released, patch is as simple as updating the version
> > in the Makefile, make makesum, make print-PLIST > PLIST.
> >
> > Running it now, seems stable enough. Still requires mongodb<=3.4.
> >
>
> I'm looking at running this on one of my boxes, but am concerned about
> memory. Can you say how much memory it uses please before I take the pains
> to build the jre needed please?
It's greedy - very greedy. I've already tried trimming java heap via
system.properties:
unifi.xms=64
unifi.xmx=64
But its footprint is still huge:
ksh$ ps aux | grep unifi
unifi 19834 0.0 2.4 2371772 405680 pts/0 Sl 4:35PM 5:07.19 /usr/pkg/java/openjdk8/bin/java -Djava.awt.headle
unifi 26194 0.0 0.7 1071276 115532 pts/0 Il 4:35PM 6:32.04 bin/mongod --dbpath /usr/pkg/unifi/data/db --port
I'd say it may kinda run in 512MiB, assuming there's nothing else
running, and you don't care too much about responsiveness.
--
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
Home |
Main Index |
Thread Index |
Old Index