diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-02-05 20:28:49 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-02-05 20:28:49 +0000 |
commit | 7f0e4e195ef9d5ce6340f7cc66108263d77b0f63 (patch) | |
tree | d6b4b7eef30b948caaf1c8b02a697b4c39403a09 /doc | |
parent | *** empty log message *** (diff) |
*** empty log message ***
SVN Revision: 59
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} |