Add using_queue_daemons.po

This commit is contained in:
drymer
2016-11-18 12:33:11 +01:00
parent 63fe749134
commit 16cf6d46a2
2 changed files with 120 additions and 67 deletions
+6 -5
View File
@@ -1,5 +1,6 @@
Using Queue Daemons
===================
.. _usando-queue-daemons:
Queues and Daemons
------------------
@@ -48,11 +49,11 @@ idea for high-volume sites.
Modern PHP versions in some operating systems have disabled functions related
to forking, which is required for daemons to operate. To make this work, make
sure that your php-cli config (``/etc/php5/cli/php.ini``) does NOT have these
sure that your ``php-cli`` config (``/etc/php5/cli/php.ini``) does NOT have these
functions listed under 'disable_functions':
* pcntl_fork, pcntl_wait, pcntl_wifexited, pcntl_wexitstatus,
pcntl_wifsignaled, pcntl_wtermsig
pcntl_wifsignaled, pcntl_wtermsig
Other recommended settings for optimal performance are:
@@ -73,15 +74,15 @@ idea for high-volume sites.
This will run the queue handlers:
queuedaemon.php
``queuedaemon.php``
polls for queued items for inbox processing and pushing out to OStatus,
SMS, XMPP, etc.
imdaemon.php
``imdaemon.php``
if an IM plugin is enabled (like XMPP)
(plugins)
other daemons, like TwitterBridge ones, that you may have enabled
other daemons, like TwitterBridge ones, that you may have enabled
These daemons will automatically restart in most cases of failure including
memory leaks (if a memory_limit is set), but may still die or behave oddly if