title: How to tweak Erlang VM configurations?
body: <p>I've read this <a href="http://soerlang.tumblr.com/post/35563581435/esl-mongooseim-vs-p1-ejabberd-part-i-piotr-nosek" rel="nofollow">Link</a> on load testing eJabberd and MongooseIM. Author mentioned tweaking of Erlang VM <a href="http://soerlang.tumblr.com/post/35563581435/esl-mongooseim-vs-p1-ejabberd-part-i-piotr-nosek" rel="nofollow">Link</a>. </p>
  
  <p>Tweaks:</p>
  
  <pre><code>+K true
  +A 5
  +P 10000000
  -env ERL_MAX_PORTS 1000000
  -env ERL_FULLSWEEP_AFTER 2
  -env ERL_MAX_ETS_TABLES 100000
  </code></pre>
  
  <p>I tried using them like that <code>erl +K true</code> specified in this <a href="http://erlang.org/doc/man/erl.html" rel="nofollow">Link</a>.</p>
  
  <p>Questions: How to tweak Erlang VM? How does one check if the setting has been set? Do i need restart eJabberd after changing the settings?</p>