diff options
author | Badlop <badlop@process-one.net> | 2008-01-01 10:53:05 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2008-01-01 10:53:05 +0000 |
commit | b23d82bc1eeae38194fdb38c8a818be372344d50 (patch) | |
tree | 11719a7a2fb5dff489cabc1678d760c92409788e /src/ejabberdctl.cfg.example | |
parent | * src/msgs/ca.msg: Updated (thanks to Vicent Alberola Canet) (diff) |
* src/ejabberdctl.template: Create logs_dir if doesn't exist. New
parameters --config, --ctl-config, --logs, --spool. Crash dump
renamed to erl_crash_DATETIME.dump.
* src/ejabberdctl.template: Backport improvements from binary
installer (EJAB-488): options are simple values; enable Kernel
Poll by default, set SMP to auto, set max ports to 32000, max
processes to 250000.
* src/ejabberdctl.cfg.example: Likewise
* src/ejabberd.inetrc: Renamed ejabberd.inetrc to inetrc
* src/inetrc: Likewise
* src/Makefile.in: Likewise
* doc/guide.tex: Likewise
SVN Revision: 1133
Diffstat (limited to 'src/ejabberdctl.cfg.example')
-rw-r--r-- | src/ejabberdctl.cfg.example | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/ejabberdctl.cfg.example b/src/ejabberdctl.cfg.example index af2206f5e..eb763e61d 100644 --- a/src/ejabberdctl.cfg.example +++ b/src/ejabberdctl.cfg.example @@ -3,16 +3,16 @@ # to the erlang runtime system when starting ejabberd # -# POLL: Kernel polling (+K [true|false]) +# POLL: Kernel polling ([true|false]) # # The kernel polling option requires support in the kernel. # Additionaly, you need to enable this feature while compiling Erlang. # -# Default: +K false +# Default: true # -#POLL="+K true" +#POLL=true -# SMP: SMP support (-smp [enable|auto|disable]) +# SMP: SMP support ([enable|auto|disable]) # # Explanation in Erlang/OTP documentation: # enable: starts the Erlang runtime system with SMP support enabled. @@ -21,9 +21,9 @@ # is available and more than one logical processor are detected. # disable: starts a runtime system without SMP support. # -# Default: -smp disable +# Default: auto # -#SMP="-smp auto" +#SMP=auto # ERL_MAX_PORTS: Maximum number of simultaneously open Erlang ports # @@ -31,10 +31,10 @@ # from a client or from another Jabber server. So take this into # account when setting this limit. # -# Default: 1024 +# Default: 32000 # Maximum: 268435456 # -export ERL_MAX_PORTS=32000 +#ERL_MAX_PORTS=32000 # PROCESSES: Maximum number of Erlang processes # @@ -44,10 +44,10 @@ export ERL_MAX_PORTS=32000 # Erlang, and therefore not related to the operating system processes, you do # not have to worry about allowing a huge number of them. # -# Default: 32768 +# Default: 250000 # Maximum: 268435456 # -#PROCESSES="+P 32768" +#PROCESSES=250000 # ERL_MAX_ETS_TABLES: Maximum number of ETS and Mnesia tables # @@ -59,7 +59,7 @@ export ERL_MAX_PORTS=32000 # # Default: 1400 # -#ERL_MAX_ETS_TABLES="-env ERL_MAX_ETS_TABLES 1400" +#ERL_MAX_ETS_TABLES=1400 # ERL_FULLSWEEP_AFTER: Maximum number of collections before a forced fullsweep # @@ -73,7 +73,7 @@ export ERL_MAX_PORTS=32000 # # Default: 65535 # -#export ERL_FULLSWEEP_AFTER=0 +#ERL_FULLSWEEP_AFTER=65536 # The next variable allows to explicitly specify erlang node for ejabberd # It can be given in different formats: @@ -86,4 +86,6 @@ export ERL_MAX_PORTS=32000 # The same as previous, but erlang will use long hostname # (see erl (1) manual for details) # -#export ERLANG_NODE=ejabberd +# Default: ejabberd +# +#ERLANG_NODE=ejabberd |