Mercurial > hg > nginx-site
annotate xml/ru/docs/events.xml @ 1663:552c06be2335
Updated with Netcraft March 2016 Web Server Survey stats.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 18 Mar 2016 19:37:07 +0300 |
parents | eea7541e7c6a |
children | 68928f8d31d9 |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
563
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
563
diff
changeset
|
2 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
563
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
563
diff
changeset
|
4 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
563
diff
changeset
|
5 |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
7 |
123
7db449e89e92
Unified the use of the "name" attribute instead of "title".
Ruslan Ermilov <ru@nginx.com>
parents:
76
diff
changeset
|
8 <article name="Методы обработки соединений" |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
9 link="/ru/docs/events.html" |
589 | 10 lang="ru" |
1465
eea7541e7c6a
Removed "rtsig" and "worker_rlimit_sigpending".
Ruslan Ermilov <ru@nginx.com>
parents:
755
diff
changeset
|
11 rev="3"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
12 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
13 <section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
14 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
15 <para> |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
16 nginx поддерживает различные методы обработки соединений. |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
17 Наличие того или иного метода зависит от используемой платформы. |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
18 Если на платформе доступно сразу несколько методов, nginx обычно |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
19 сам выбирает наиболее эффективный метод. |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
20 Однако, при необходимости можно явно выбрать метод обработки |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
21 соединений с помощью директивы |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
22 <link doc="ngx_core_module.xml" id="use"/>. |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
23 </para> |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
24 |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
25 <para> |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
26 Поддерживаются следующие методы обработки соединений: |
461 | 27 <list type="bullet"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
28 |
755
629630df119a
Added anchors to event processing methods.
Ruslan Ermilov <ru@nginx.com>
parents:
659
diff
changeset
|
29 <listitem id="select"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
30 <para> |
271 | 31 <literal>select</literal>—стандартный метод. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
32 Модуль для поддержки этого метода собирается автоматически, |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
33 если на платформе не обнаружено более эффективного метода. |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
34 Можно принудительно разрешить или запретить сборку этого модуля |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
35 с помощью параметров <literal>--with-select_module</literal> и |
271 | 36 <literal>--without-select_module</literal>. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
37 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
38 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
39 |
755
629630df119a
Added anchors to event processing methods.
Ruslan Ermilov <ru@nginx.com>
parents:
659
diff
changeset
|
40 <listitem id="poll"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
41 <para> |
271 | 42 <literal>poll</literal>—стандартный метод. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
43 Модуль для поддержки этого метода собирается автоматически, |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
44 если на платформе не обнаружено более эффективного метода. |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
45 Можно принудительно разрешить или запретить сборку этого модуля |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
46 с помощью параметров <literal>--with-poll_module</literal> и |
271 | 47 <literal>--without-poll_module</literal>. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
48 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
49 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
50 |
755
629630df119a
Added anchors to event processing methods.
Ruslan Ermilov <ru@nginx.com>
parents:
659
diff
changeset
|
51 <listitem id="kqueue"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
52 <para> |
271 | 53 <literal>kqueue</literal>—эффективный метод, используемый |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
54 во FreeBSD 4.1+, OpenBSD 2.9+, NetBSD 2.0 и Mac OS X. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
55 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
56 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
57 |
755
629630df119a
Added anchors to event processing methods.
Ruslan Ermilov <ru@nginx.com>
parents:
659
diff
changeset
|
58 <listitem id="epoll"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
59 <para> |
271 | 60 <literal>epoll</literal>—эффективный метод, используемый |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
61 в Linux 2.6+. |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
62 <note> |
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
63 В некоторых старых дистрибутивах, например SuSE 8.2, |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
64 есть патчи для поддержки epoll ядром 2.4. |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
65 </note> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
66 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
67 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
68 |
755
629630df119a
Added anchors to event processing methods.
Ruslan Ermilov <ru@nginx.com>
parents:
659
diff
changeset
|
69 <listitem id="devpoll"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
70 <para> |
271 | 71 <literal>/dev/poll</literal>—эффективный метод, используемый |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
72 в Solaris 7 11/99+, HP/UX 11.22+ (eventport), IRIX 6.5.15+ |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
73 и Tru64 UNIX 5.1A+. |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
74 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
75 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
76 |
755
629630df119a
Added anchors to event processing methods.
Ruslan Ermilov <ru@nginx.com>
parents:
659
diff
changeset
|
77 <listitem id="eventport"> |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
78 <para> |
271 | 79 <literal>eventport</literal>—event ports, эффективный метод, |
552
32bde52db92c
Incorporated some of the changes made to a translated version of
Ruslan Ermilov <ru@nginx.com>
parents:
461
diff
changeset
|
80 используемый в Solaris 10. |
76
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
81 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
82 </listitem> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
83 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
84 </list> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
85 </para> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
86 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
87 </section> |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
88 |
4a4caa566120
Russian documentation import.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
89 </article> |