Skip to content

Commit 1f01e2a

Browse files
fpm: improve configuration, mention ondemand mode (#4619)
* Add missing closing brace * Mention all relevant fpm pm modes The option `pm.max_children` is relevant for `pm = ondemand` too. Co-authored-by: Jordi Kroon <jordikroon@me.com>
1 parent f8bab1d commit 1f01e2a

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

install/fpm/configuration.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -392,16 +392,16 @@
392392
<para>
393393
<literal>static</literal> - the number of child processes is fixed (<literal>pm.max_children</literal>).
394394
</para>
395-
<para>
395+
<simpara>
396396
<literal>ondemand</literal> - the processes spawn on demand (when requested,
397397
as opposed to dynamic, where <literal>pm.start_servers</literal> are started
398-
when the service is started.
399-
</para>
400-
<para>
398+
when the service is started).
399+
</simpara>
400+
<simpara>
401401
<literal>dynamic</literal> - the number of child processes is set dynamically based on the
402402
following directives: <literal>pm.max_children</literal>, <literal>pm.start_servers</literal>,
403403
<literal>pm.min_spare_servers</literal>, <literal>pm.max_spare_servers</literal>.
404-
</para>
404+
</simpara>
405405
</listitem>
406406
</varlistentry>
407407
<varlistentry xml:id="pm.max-children">
@@ -410,12 +410,12 @@
410410
<type>int</type>
411411
</term>
412412
<listitem>
413-
<para>
413+
<simpara>
414414
The number of child processes to be created when <literal>pm</literal> is set to
415415
<literal>static</literal> and the maximum number of child processes to be created
416-
when <literal>pm</literal> is set to <literal>dynamic</literal>. This
417-
option is mandatory.
418-
</para>
416+
when <literal>pm</literal> is set to <literal>dynamic</literal> or <literal>ondemand</literal>.
417+
This option is mandatory.
418+
</simpara>
419419
<para>
420420
This option sets the limit on the number of simultaneous requests that
421421
will be served. Equivalent to the ApacheMaxClients directive with

0 commit comments

Comments
 (0)