summaryrefslogtreecommitdiffstats
path: root/docs/en/ranch/1.2/guide/listeners/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/ranch/1.2/guide/listeners/index.html')
-rw-r--r--docs/en/ranch/1.2/guide/listeners/index.html27
1 files changed, 23 insertions, 4 deletions
diff --git a/docs/en/ranch/1.2/guide/listeners/index.html b/docs/en/ranch/1.2/guide/listeners/index.html
index c817a99c..ead3c4b8 100644
--- a/docs/en/ranch/1.2/guide/listeners/index.html
+++ b/docs/en/ranch/1.2/guide/listeners/index.html
@@ -11,7 +11,7 @@
<title>Nine Nines: Listeners</title>
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/99s.css" rel="stylesheet">
@@ -73,7 +73,7 @@
for new connections. It manages a pool of acceptor processes, each
of them indefinitely accepting connections. When it does, it starts
a new process executing the protocol handler code. All the socket
-programming is abstracted through the user of transport handlers.</p></div>
+programming is abstracted through the use of transport handlers.</p></div>
<div class="paragraph"><p>The listener takes care of supervising all the acceptor and connection
processes, allowing developers to focus on building their application.</p></div>
<div class="sect1">
@@ -302,6 +302,25 @@ http://www.gnu.org/software/src-highlite -->
</div>
</div>
<div class="sect1">
+<h2 id="_when_running_out_of_file_descriptors">When running out of file descriptors</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>Operating systems have limits on the number of sockets
+which can be opened by applications. When this maximum is
+reached the listener can no longer accept new connections. The
+accept rate of the listener will be automatically reduced, and a
+warning message will be logged.</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code>=ERROR REPORT==== 13-Jan-2016::12:24:38 ===
+Ranch acceptor reducing accept rate: out of file descriptors</code></pre>
+</div></div>
+<div class="paragraph"><p>If you notice messages like this you should increase the number
+of file-descriptors which can be opened by your application. How
+this should be done is operating-system dependent. Please consult
+the documentation of your operating system.</p></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_using_a_supervisor_for_connection_processes">Using a supervisor for connection processes</h2>
<div class="sectionbody">
<div class="paragraph"><p>Ranch allows you to define the type of process that will be used
@@ -359,13 +378,13 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="http://ninenines.eu/docs/en/ranch/1.2/guide/introduction/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/">
Introduction
</a>
- <a style="float:right" href="http://ninenines.eu/docs/en/ranch/1.2/guide/transports/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/transports/">
Transports
</a>