Mercurial > hg > nginx-site
changeset 554:ccb7451af1d8
Documented the "worker_rlimit_sigpending" directive.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 26 Jun 2012 07:51:33 +0000 |
parents | 6330ca27a485 |
children | a9f5ff5e4954 |
files | xml/en/docs/events.xml xml/en/docs/ngx_core_module.xml xml/ru/docs/events.xml xml/ru/docs/ngx_core_module.xml |
diffstat | 4 files changed, 36 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/events.xml Tue Jun 26 07:36:58 2012 +0000 +++ b/xml/en/docs/events.xml Tue Jun 26 07:51:33 2012 +0000 @@ -74,7 +74,8 @@ by changing the <path>/proc/sys/kernel/rtsig-max</path> kernel parameter. However, in Linux 2.6.6-mm2 this parameter is gone, and each process now has its own event queue. -The size of each queue is limited by <literal>RLIMIT_SIGPENDING</literal>. +The size of each queue is limited by <literal>RLIMIT_SIGPENDING</literal> +(see also <link doc="ngx_core_module.xml" id="worker_rlimit_sigpending"/>). </para> <para>
--- a/xml/en/docs/ngx_core_module.xml Tue Jun 26 07:36:58 2012 +0000 +++ b/xml/en/docs/ngx_core_module.xml Tue Jun 26 07:51:33 2012 +0000 @@ -462,6 +462,22 @@ </directive> +<directive name="worker_rlimit_sigpending"> +<syntax><value>number</value></syntax> +<default/> +<context>main</context> + +<para> +On systems that support <link doc="events.xml" id="rtsig"/> +connection processing method, +changes the limit on the number of signals that may be queued +(<c-def>RLIMIT_SIGPENDING</c-def>) for worker processes. +Used to increase the limit without restarting the main process. +</para> + +</directive> + + <directive name="working_directory"> <syntax><value>directory</value></syntax> <default/>
--- a/xml/ru/docs/events.xml Tue Jun 26 07:36:58 2012 +0000 +++ b/xml/ru/docs/events.xml Tue Jun 26 07:51:33 2012 +0000 @@ -74,7 +74,8 @@ с помощью параметра ядра <path>/proc/sys/kernel/rtsig-max</path>. Однако, начиная с Linux 2.6.6-mm2, этого параметра уже нет и для каждого процесса существует отдельная очередь сигналов, размер которой -ограничивается с помощью <literal>RLIMIT_SIGPENDING</literal>. +ограничивается с помощью <literal>RLIMIT_SIGPENDING</literal> +(см. также <link doc="ngx_core_module.xml" id="worker_rlimit_sigpending"/>). </para> <para>
--- a/xml/ru/docs/ngx_core_module.xml Tue Jun 26 07:36:58 2012 +0000 +++ b/xml/ru/docs/ngx_core_module.xml Tue Jun 26 07:51:33 2012 +0000 @@ -460,6 +460,22 @@ </directive> +<directive name="worker_rlimit_sigpending"> +<syntax><value>число</value></syntax> +<default/> +<context>main</context> + +<para> +На системах с поддержкой метода обработки соединений +<link doc="events.xml" id="rtsig"/>, +изменяет ограничение на размер очереди сигналов +(<c-def>RLIMIT_SIGPENDING</c-def>) для рабочих процессов. +Используется для увеличения ограничения без перезапуска основного процесса. +</para> + +</directive> + + <directive name="working_directory"> <syntax><value>каталог</value></syntax> <default/>