2007-10-17 04:33:19 +02:00
|
|
|
#
|
2007-12-02 22:13:25 +01:00
|
|
|
# In this file you can configure options that are passed by ejabberdctl
|
|
|
|
# to the erlang runtime system when starting ejabberd
|
|
|
|
#
|
2007-10-17 04:33:19 +02:00
|
|
|
|
2008-01-01 11:53:05 +01:00
|
|
|
# POLL: Kernel polling ([true|false])
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
2007-12-02 22:13:25 +01:00
|
|
|
# The kernel polling option requires support in the kernel.
|
|
|
|
# Additionaly, you need to enable this feature while compiling Erlang.
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
# Default: true
|
2007-12-02 22:13:25 +01:00
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
#POLL=true
|
2007-10-17 04:33:19 +02:00
|
|
|
|
2008-01-01 11:53:05 +01:00
|
|
|
# SMP: SMP support ([enable|auto|disable])
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
2007-12-02 22:13:25 +01:00
|
|
|
# Explanation in Erlang/OTP documentation:
|
|
|
|
# enable: starts the Erlang runtime system with SMP support enabled.
|
|
|
|
# This may fail if no runtime system with SMP support is available.
|
|
|
|
# auto: starts the Erlang runtime system with SMP support enabled if it
|
|
|
|
# is available and more than one logical processor are detected.
|
|
|
|
# disable: starts a runtime system without SMP support.
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
# Default: auto
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
#SMP=auto
|
2007-10-17 04:33:19 +02:00
|
|
|
|
2007-12-02 22:13:25 +01:00
|
|
|
# ERL_MAX_PORTS: Maximum number of simultaneously open Erlang ports
|
|
|
|
#
|
2007-12-06 22:42:47 +01:00
|
|
|
# ejabberd consumes two or three ports for every connection, either
|
|
|
|
# from a client or from another Jabber server. So take this into
|
|
|
|
# account when setting this limit.
|
2007-12-02 22:13:25 +01:00
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
# Default: 32000
|
2007-12-02 22:13:25 +01:00
|
|
|
# Maximum: 268435456
|
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
#ERL_MAX_PORTS=32000
|
2007-10-17 04:33:19 +02:00
|
|
|
|
2008-04-01 11:07:29 +02:00
|
|
|
# FIREWALL_WINDOW: Range of allowed ports to pass through a firewall
|
|
|
|
#
|
|
|
|
# If Ejabberd is configured to run in cluster, and a firewall is blocking ports,
|
|
|
|
# it's possible to make Erlang use a defined range of port (instead of dynamic ports)
|
|
|
|
# for node communication.
|
|
|
|
#
|
|
|
|
# Default: not defined
|
|
|
|
# Example: 4200-4210
|
|
|
|
#
|
|
|
|
#FIREWALL_WINDOW=
|
|
|
|
|
2007-12-02 22:13:25 +01:00
|
|
|
# PROCESSES: Maximum number of Erlang processes
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
|
|
|
# Erlang consumes a lot of lightweight processes. If there is a lot of activity
|
|
|
|
# on ejabberd so that the maximum number of proccesses is reached, people will
|
|
|
|
# experiment greater latency times. As these processes are implemented in
|
|
|
|
# Erlang, and therefore not related to the operating system processes, you do
|
|
|
|
# not have to worry about allowing a huge number of them.
|
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
# Default: 250000
|
2007-12-02 22:13:25 +01:00
|
|
|
# Maximum: 268435456
|
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
#PROCESSES=250000
|
2007-10-17 04:33:19 +02:00
|
|
|
|
2007-12-02 22:13:25 +01:00
|
|
|
# ERL_MAX_ETS_TABLES: Maximum number of ETS and Mnesia tables
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
|
|
|
# The number of concurrent ETS and Mnesia tables is limited. When the limit is
|
|
|
|
# reached, errors will appear in the logs:
|
2007-12-02 22:13:25 +01:00
|
|
|
# ** Too many db tables **
|
2007-10-17 04:33:19 +02:00
|
|
|
# You can safely increase this limit when starting ejabberd. It impacts memory
|
|
|
|
# consumption but the difference will be quite small.
|
2007-12-02 22:13:25 +01:00
|
|
|
#
|
|
|
|
# Default: 1400
|
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
#ERL_MAX_ETS_TABLES=1400
|
2007-10-17 04:33:19 +02:00
|
|
|
|
|
|
|
# The next variable allows to explicitly specify erlang node for ejabberd
|
|
|
|
# It can be given in different formats:
|
|
|
|
# ERLANG_NODE=ejabberd
|
2007-12-02 22:13:25 +01:00
|
|
|
# Lets erlang add hostname to the node (ejabberd uses short name in this case)
|
2007-10-17 04:33:19 +02:00
|
|
|
# ERLANG_NODE=ejabberd@hostname
|
2007-12-02 22:13:25 +01:00
|
|
|
# Erlang uses node name as is (so make sure that hostname is a real
|
|
|
|
# machine hostname or you'll not be able to control ejabberd)
|
2007-10-17 04:33:19 +02:00
|
|
|
# ERLANG_NODE=ejabberd@hostname.domainname
|
2007-12-02 22:13:25 +01:00
|
|
|
# The same as previous, but erlang will use long hostname
|
|
|
|
# (see erl (1) manual for details)
|
2007-10-17 04:33:19 +02:00
|
|
|
#
|
2008-01-01 11:53:05 +01:00
|
|
|
# Default: ejabberd
|
|
|
|
#
|
|
|
|
#ERLANG_NODE=ejabberd
|