From 635978b137cdbf999d219f6546eae307e26691d9 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 8 Jan 2008 16:11:58 +0000 Subject: [PATCH] * src/ejabberdctl.template: Removed the option ERL_FULLSWEEP_AFTER because it is almost useless regarding ejabberd's performance. * src/ejabberdctl.cfg.example: Likewise SVN Revision: 1140 --- ChangeLog | 8 +++++++- src/ejabberdctl.cfg.example | 14 -------------- src/ejabberdctl.template | 2 -- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a7eb4711..70decbd00 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-08 Badlop + + * 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 * doc/Makefile: fix version.tex generation bug @@ -5,7 +11,7 @@ 2008-01-01 Badlop * 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 diff --git a/src/ejabberdctl.cfg.example b/src/ejabberdctl.cfg.example index eb763e61d..91f50346d 100644 --- a/src/ejabberdctl.cfg.example +++ b/src/ejabberdctl.cfg.example @@ -61,20 +61,6 @@ # #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 diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template index 09128a823..dd617a523 100644 --- a/src/ejabberdctl.template +++ b/src/ejabberdctl.template @@ -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