I've read this [Link](http://soerlang.tumblr.com/post/35563581435/esl-mongooseim-vs-p1-ejabberd-part-i-piotr-nosek) on load testing eJabberd and MongooseIM. Author mentioned tweaking of Erlang VM [Link](http://soerlang.tumblr.com/post/35563581435/esl-mongooseim-vs-p1-ejabberd-part-i-piotr-nosek). 

Tweaks:

```
+K true
+A 5
+P 10000000
-env ERL_MAX_PORTS 1000000
-env ERL_FULLSWEEP_AFTER 2
-env ERL_MAX_ETS_TABLES 100000

```

I tried using them like that `erl +K true` specified in this [Link](http://erlang.org/doc/man/erl.html).

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?