Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  Erlang consumes memory suddenly

Guest
Posted: Mon Jul 26, 2010 2:50 pm Reply with quote
Guest
This is a cross-posting from erl-q@, sorry for annoying, but perhaps
someone can help me in this list Wink

Recently we played with emulator '+Musbct 5' flag in ejabberd to reduce
memory consumption. All was fine in stress testing, so we tried it in
production. Several hours everything was good but then suddenly Erlang
started to consume RSS memory and finally we stopped it (due to out of
RAM available). We monitor memory, so you can see the spike here:
http://kuku.jabber.ru/~xram/ejabberd_memory-day.png
As you can see, no processes/system memory was consumed.

So my questions are:
1) Is this a bug or a feature? If this is a feature, is it possible to
know what consumed memory?
2) If +Musbct option works incorrectly, then what option should we use
to decrease the difference between erlang:memory(total) and RSS?
Sometimes this difference reaches up to 2Gb of RSS.

We are running R13B04, all linked-in drivers use
driver_alloc/driver_free/driver_realloc (either directly or through
provided memory callbacks).
Currently we are trying +Musbct 20 Smile

--
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@jabber.ru.


________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum