ejabberd - Comments for "Disconnect reaching 1000 users" https://www.ejabberd.im/node/2674 en yllsuarez wrote: ulimit -n https://www.ejabberd.im/node/2674#comment-51140 <div class="quote-msg"> <div class="quote-author"><em>yllsuarez</em> wrote:</div> <p>ulimit -n 3000 to eajbberdctl but believe that ERL_MAX=3000 resolve this</p></div> <p>There are two limits in the number of ports that you must increase: <ul> <li>the operating system limit, you can use immediately before calling 'erl': ulimit -n 3000 </li><li>the Erlang limit: when calling 'erl', add this argument: -env ERL_MAX_PORTS 3000 </li></ul> </p> Mon, 29 Oct 2007 11:01:54 +0000 mfoss comment 51140 at https://www.ejabberd.im