]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberdctl.template: Removed the option ERL_FULLSWEEP_AFTER
authorBadlop <badlop@process-one.net>
Tue, 8 Jan 2008 16:11:58 +0000 (16:11 +0000)
committerBadlop <badlop@process-one.net>
Tue, 8 Jan 2008 16:11:58 +0000 (16:11 +0000)
because it is almost useless regarding ejabberd's performance.
* src/ejabberdctl.cfg.example: Likewise

SVN Revision: 1140

ChangeLog
src/ejabberdctl.cfg.example
src/ejabberdctl.template

index 3a7eb471154e5e2498e9ed43344dc25f246b5304..70decbd005bbc69a057b7fea5ec108c93d4f66a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-08  Badlop  <badlop@process-one.net>
+
+       * src/ejabberdctl.template: Removed the option ERL_FULLSWEEP_AFTER
+       because it is almost useless regarding ejabberd's performance.
+       * src/ejabberdctl.cfg.example: Likewise
+
 2008-01-08  Christophe Romain  <christophe.romain@process-one.net>
 
        * doc/Makefile: fix version.tex generation bug
@@ -5,7 +11,7 @@
 2008-01-01  Badlop  <badlop@process-one.net>
 
        * src/web/ejabberd_web_admin.erl: Uniformize the name of
-       ejabberd's web admin to: 'Web Admin' (EjAB-472)
+       ejabberd's web admin to: 'Web Admin' (EJAB-472)
        * doc/guide.tex: Likewise
        * doc/introduction.tex: Likewise
 
index eb763e61d4dc6f9b7c85d8c7a91de1549e80fbfb..91f50346de769f5a8846ca96c464f5f0ef7524dc 100644 (file)
 #
 #ERL_MAX_ETS_TABLES=1400
 
-# ERL_FULLSWEEP_AFTER: Maximum number of collections before a forced fullsweep
-#
-# To reduce memory usage, you can set environment variable ERL_FULLSWEEP_AFTER.
-# But in this case ejabberd may work slower.
-#
-# The ERL_FULLSWEEP_AFTER option shrinks the size of the Erlang process after
-# RAM intensive events. Note that this option may downgrade performance. Hence
-# this option is only interesting on machines that also host other services
-# (webserver, mail) on which ejabberd does not receive constant load.
-#
-# Default: 65535
-#
-#ERL_FULLSWEEP_AFTER=65536
-
 # The next variable allows to explicitly specify erlang node for ejabberd
 # It can be given in different formats:
 # ERLANG_NODE=ejabberd
index 09128a8238d7d43c69873cf68b823a7c5c939e17..dd617a5232c2f77cb55cd20b0ea428cd663ca9fb 100644 (file)
@@ -6,7 +6,6 @@ SMP=auto
 ERL_MAX_PORTS=32000
 ERL_PROCESSES=250000
 ERL_MAX_ETS_TABLES=1400
-ERL_FULLSWEEP_AFTER=65536
 
 # define default environment variables
 NODE=ejabberd
@@ -62,7 +61,6 @@ export ERL_MAX_ETS_TABLES
 export ERL_CRASH_DUMP
 export EJABBERD_LOG_PATH
 export HOME
-[ $ERL_FULLSWEEP_AFTER = "disabled" ] || export ERL_FULLSWEEP_AFTER
 
 [ -d $EJABBERD_DB ] || mkdir -p $EJABBERD_DB
 [ -d $LOGS_DIR ] || mkdir -p $LOGS_DIR