diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 9 | ||||
-rw-r--r-- | doc/guide.tex | 8 |
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/guide.html b/doc/guide.html index 078c7c723..e4bcb91a7 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -102,7 +102,14 @@ make <H3>2.4 Starting</H3><!--SEC END --> -<A NAME="sec:starting"></A><PRE> +<A NAME="sec:starting"></A>... To use more then 1024 connections, you need to set environment +variable <TT>ERL_MAX_PORTS</TT>: +<PRE> +export ERL_MAX_PORTS=32000 +</PRE>Note that with this value <TT>ejabberd</TT> will use more memory (approximately 6MB +more)...<BR> +<BR> +<PRE> erl -name ejabberd -s ejabberd </PRE>TBD<BR> <BR> diff --git a/doc/guide.tex b/doc/guide.tex index da22aca77..46ecc96dc 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -128,6 +128,14 @@ TBD \subsection{Starting} \label{sec:starting} +\ldots{} To use more then 1024 connections, you need to set environment +variable \texttt{ERL\_MAX\_PORTS}: +\begin{verbatim} +export ERL_MAX_PORTS=32000 +\end{verbatim} +Note that with this value \ejabberd{} will use more memory (approximately 6MB +more)\ldots{} + \begin{verbatim} erl -name ejabberd -s ejabberd \end{verbatim} |