This commit is contained in:
benoitc 2010-02-20 15:40:55 +01:00
parent acf0ef4aa4
commit 122a9d4798
5 changed files with 39 additions and 7 deletions

View File

@ -103,5 +103,8 @@ ul#actions li a {
text-decoration: none;
}
#faq dt {
font-size: 1.5em;
font-weight: bold;
}

View File

@ -44,8 +44,23 @@
</ul>
</div>
<div class="document">
<p>Coming soon.</p>
<div class="document" id="faq">
<h1 class="title">FAQ</h1>
<dl class="docutils">
<dt>How to reload my application in Gunicorn ?</dt>
<dd><p class="first">You can gracefully reload by sending HUP signal to gunicorn:</p>
<pre class="last literal-block">
$ kill -HUP masterpid
</pre>
</dd>
<dt>How to increase/decrease number of running workers ?</dt>
<dd><p class="first">send TTIN/TTOUT signals to do it:</p>
<pre class="literal-block">
$ kill -TTIN masterpid
</pre>
<p class="last">will increase the number from one worker</p>
</dd>
</dl>
</div>

View File

@ -46,8 +46,8 @@
<div class="document">
<p>Gunicorn performances are good enough for most cases. Most often performances can be improved in your application.</p>
<div class="section" id="unicorn-configration">
<h1>Unicorn configration</h1>
<div class="section" id="unicorn-configuration">
<h1>Unicorn configuration</h1>
<p>See <a class="reference external" href="configuration.html">Configuration</a> for more informations.</p>
<ul class="simple">
<li>worker_processes should be scaled to the number of processes your backend system(s) can support. DO NOT scale it to the number of external network clients your application expects to be serving. Gunicorn is <strong>NOT</strong> for serving slow clients, that is the job of <a class="reference external" href="http://nginx.org/">nginx</a>.</li>

View File

@ -1,3 +1,17 @@
template: doc.html
Coming soon.
FAQ
===
How to reload my application in Gunicorn ?
You can gracefully reload by sending HUP signal to gunicorn::
$ kill -HUP masterpid
How to increase/decrease number of running workers ?
send TTIN/TTOUT signals to do it::
$ kill -TTIN masterpid
will increase the number from one worker

View File

@ -3,7 +3,7 @@ template: doc.html
Gunicorn performances are good enough for most cases. Most often performances can be improved in your application.
Unicorn configration
Unicorn configuration
----------------------
See `Configuration <configuration.html>`_ for more informations.