This is normal. Eg PyPy without anything else already consumes
VIRT=126M, RES=80M
https://gist.github.com/oberstet/0455c7a7f7ccc782b725
When running CB, I get
https://github.com/crossbario/crossbarexamples/tree/master/benchmark/rpc_roundtrip#system-load
eg the router worker: VIRT=274M, RES=220M
cpython will have a lower memory consumption though.
Cheers,
/Tobias
Am 10.02.2016 um 20:52 schrieb Сергей Алексеев:
> Hello, guys!
>
> I have fresh crossbar installation and one node initialized with
> --template default.
>
> |
> ciroja@host1:~/cbnode$ ~/pypy-venv/bin/crossbar version
> Automaticallychoosing optimal Twistedreactor
> Runningon Linuxandoptimal reactor (epoll)was installed.
> __ __ __ __ __ __ __ __
> /`|__)/ \/__`/__`|__) /\ |__) |/ \
> \__,| \\__/.__/.__/|__)/~~\| \. |\__/
>
> Crossbar.io : 0.12.1
> Autobahn : 0.12.1 (with JSON, MessagePack, CBOR)
> Twisted : 15.5.0-EPollReactor
> LMDB : 0.88/lmdb-0.9.17
> Python : 2.7.10/PyPy-4.0.1
> OS :
> Linux-3.16.0-60-generic-x86_64-with-Ubuntu-14.04-trusty
> Machine : x86_64
> |
>
> Before starting crossbar I check my memory consumption with *top* and see:
>
> |
> KiBMem:2042852total,346520used,1696332free,24144buffers
> KiBSwap:2097148total,0used,2097148free.167800cached Mem
> |
>
>
> Then I start crossbar...
> |
> ciroja@host1:~/cbnode$ ~/pypy-venv/bin/crossbar start
> 2016-02-10T22:35:07+0300[Controller1857]Automaticallychoosing optimal
> Twistedreactor
> 2016-02-10T22:35:07+0300[Controller1857]Runningon Linuxandoptimal
> reactor (epoll)was installed.
> 2016-02-10T22:35:07+0300[Controller1857] __ __ __ __ __ __
> __ __
> 2016-02-10T22:35:07+0300[Controller1857]/`|__)/ \/__`/__`|__) /\ |__)
> look at the *top* again and see the following:
> |
> KiBMem:2042852total,490732used,1552120free,24120buffers
> KiBSwap:2097148total,0used,2097148free.167804cached Mem
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+COMMAND
> 1857ciroja 20017126810589635028S 0.05.20:00.69crossbar-contro
> 1862ciroja 20017353610806034944S 0.05.30:00.66crossbar-worker
> |
>
> Also tried version 0.11 from official ubuntu distribution before - got
> the same result.
>
> So I wonder - is it normal that two crossbar processes consume more that
> 200M of memory right after start?
> Maybe I do something wrong or miss something?
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Crossbar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
crossbario+...@googlegroups.com
> <mailto:
crossbario+...@googlegroups.com>.
> To post to this group, send email to
cross...@googlegroups.com
> <mailto:
cross...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/crossbario/cfb47a70-46a9-4765-accc-e33928c920ed%40googlegroups.com
> <
https://groups.google.com/d/msgid/crossbario/cfb47a70-46a9-4765-accc-e33928c920ed%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.