|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <!-- $Revision$ -->
|
3 |
| -<!-- EN-Revision: fab4ea95f4fe1471be947602d0e9be32fb802265 Maintainer: mumumu Status: working --> |
| 3 | +<!-- EN-Revision: fab4ea95f4fe1471be947602d0e9be32fb802265 Maintainer: mumumu Status: ready --> |
4 | 4 |
|
5 | 5 | <sect1 xml:id="fpm.status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
6 | 6 | <title>FPM の情報ページ</title>
|
|
15 | 15 | <title>設定</title>
|
16 | 16 |
|
17 | 17 | <para>
|
18 |
| - The FPM status page can be enabled by setting the |
19 |
| - <link linkend="pm.status-path">pm.status_path</link> configuration parameter in the FPM pool |
20 |
| - configuration. |
| 18 | + FPM の情報ページは、 |
| 19 | + FPM プールの設定にある |
| 20 | + <link linkend="pm.status-path">pm.status_path</link> |
| 21 | + 設定パラメータを設定することで有効にできます。 |
21 | 22 | </para>
|
22 | 23 |
|
23 | 24 | <caution>
|
24 | 25 | <para>
|
25 |
| - For security the FPM status page should be restricted to internal requests or known client IPs |
26 |
| - only as the page reveals request URLs and information about available resources. |
| 26 | + セキュリティを考慮して、 |
| 27 | + FPM の情報ページへのアクセスは、 |
| 28 | + 内部的なリクエストから |
| 29 | + または既知のクライアントIPからだけに限るべきです。 |
| 30 | + なぜなら、この情報ページはリクエストURLや、 |
| 31 | + 利用可能なリソースに関する情報を晒してしまっているからです。 |
27 | 32 | </para>
|
28 | 33 | </caution>
|
29 | 34 |
|
30 | 35 | <para>
|
31 |
| - Depenending on the web server configuration it might be needed to configure the web server to |
32 |
| - allow requests directly to this path, bypassing any PHP scripts. An example of a configuration |
33 |
| - for Apache with FPM listening on UDS and <literal>pm.status_path</literal> set to |
34 |
| - <literal>/fpm-status</literal> would look like: |
| 36 | + ウェブサーバーの設定によっては、 |
| 37 | + PHP スクリプトをバイパスさせ、 |
| 38 | + このパスへの直接アクセスを許可する必要があるかもしれません。 |
| 39 | + Unix Domain Socket(UDS) 経由で listen している FPM と |
| 40 | + Apache を設定する例は、下記のようになります。 |
| 41 | + ここでは、 |
| 42 | + <literal>pm.status_path</literal> に <literal>/fpm-status</literal> |
| 43 | + を設定しています: |
35 | 44 | </para>
|
36 | 45 |
|
37 | 46 | <informalexample>
|
|
47 | 56 | </informalexample>
|
48 | 57 |
|
49 | 58 | <para>
|
50 |
| - After reloading or restarting both FPM and the web server the status page will be accessible from |
51 |
| - the browser (as long as the request comes from an allowed IP address if the IP restriction was |
52 |
| - configured). |
| 59 | + FPM とウェブサーバーをリロードまたは再起動した後、 |
| 60 | + 情報ページがブラウザからアクセスできるようになっているはずです。 |
| 61 | + (IP アドレス制限が設定されている場合は、 |
| 62 | + リクエストが許可したIPアドレスから来ている場合に限ります) |
53 | 63 | </para>
|
54 | 64 | </sect2>
|
55 | 65 |
|
56 | 66 | <sect2 xml:id="fpm.status.parameters">
|
57 | 67 | <title>クエリパラメータ</title>
|
58 | 68 |
|
59 | 69 | <para>
|
60 |
| - The format of the status page output can be altered by specifying one of the following query |
61 |
| - parameters: |
| 70 | + 情報ページの出力フォーマットは、以下のクエリパラメータのうちひとつを指定することで変更できます: |
62 | 71 | </para>
|
63 | 72 |
|
64 | 73 | <simplelist>
|
|
69 | 78 | </simplelist>
|
70 | 79 |
|
71 | 80 | <para>
|
72 |
| - Additional information can also be returned using the <literal>full</literal> query parameter. |
| 81 | + クエリパラメータ <literal>full</literal> を使うことで、 |
| 82 | + 追加の情報を出力させることもできます。 |
73 | 83 | </para>
|
74 | 84 |
|
75 | 85 | <para>
|
76 |
| - Example status page URLs: |
| 86 | + 情報ページのURLの例は、下記のとおりです: |
77 | 87 | </para>
|
78 | 88 |
|
79 | 89 | <simplelist>
|
80 | 90 | <member>
|
81 | 91 | <literal>https://localhost/fpm-status</literal>
|
82 |
| - - Brief output in the default text format |
| 92 | + - デフォルトのテキストフォーマットで、概要を出力します。 |
83 | 93 | </member>
|
84 | 94 | <member>
|
85 | 95 | <literal>https://localhost/fpm-status?full</literal>
|
86 |
| - - Full output in the default text format |
| 96 | + - デフォルトのテキストフォーマットで、全ての情報を出力します。 |
87 | 97 | </member>
|
88 | 98 | <member>
|
89 | 99 | <literal>https://localhost/fpm-status?json</literal>
|
90 |
| - - Brief output in JSON format |
| 100 | + - JSON で 概要を出力します。 |
91 | 101 | </member>
|
92 | 102 | <member>
|
93 | 103 | <literal>https://localhost/fpm-status?html&full</literal>
|
94 |
| - - Full output in HTML format |
| 104 | + - HTML フォーマットで、全ての情報を出力します。 |
95 | 105 | </member>
|
96 | 106 | </simplelist>
|
97 | 107 | </sect2>
|
|
100 | 110 | <title>表示される情報</title>
|
101 | 111 |
|
102 | 112 | <para>
|
103 |
| - Date/Time values use the unix timestamp format in JSON and XML output, otherwise they use |
104 |
| - the format resulting in the following example date |
105 |
| - <literal>"03/Jun/2021:07:21:46 +0100"</literal>. |
| 113 | + 日付/時刻 の値は、JSON と XML 出力では Unixタイムスタンプを使います。 |
| 114 | + それ以外の場合は、 |
| 115 | + <literal>"03/Jun/2021:07:21:46 +0100"</literal> |
| 116 | + のようなフォーマットを使います。 |
106 | 117 | </para>
|
107 | 118 |
|
108 | 119 | <table>
|
109 | 120 | <title>基本情報 - 常に表示されます</title>
|
110 | 121 | <tgroup cols="2">
|
111 | 122 | <thead>
|
112 | 123 | <row>
|
113 |
| - <entry>Parameter</entry> |
114 |
| - <entry>Description</entry> |
| 124 | + <entry>パラメータ</entry> |
| 125 | + <entry>説明</entry> |
115 | 126 | </row>
|
116 | 127 | </thead>
|
117 | 128 | <tbody>
|
118 | 129 | <row>
|
119 | 130 | <entry>pool</entry>
|
120 |
| - <entry>The name of the FPM process pool.</entry> |
| 131 | + <entry>FPM プロセスプールの名前</entry> |
121 | 132 | </row>
|
122 | 133 | <row>
|
123 | 134 | <entry>proccess manager</entry>
|
124 |
| - <entry>The process manager type - static, dynamic or ondemand.</entry> |
| 135 | + <entry>プロセスマネージャーのタイプ - static, dynamic, または ondemand.</entry> |
125 | 136 | </row>
|
126 | 137 | <row>
|
127 | 138 | <entry>start time</entry>
|
128 |
| - <entry>The date/time that the process pool was last started.</entry> |
| 139 | + <entry>プロセスタイムが最後に起動した日付/時刻</entry> |
129 | 140 | </row>
|
130 | 141 | <row>
|
131 | 142 | <entry>start since</entry>
|
132 |
| - <entry>The time in seconds since the process pool was last started.</entry> |
| 143 | + <entry>プロセスプールが最後に起動してから経過した秒数</entry> |
133 | 144 | </row>
|
134 | 145 | <row>
|
135 | 146 | <entry>accepted conn</entry>
|
136 |
| - <entry>The total number of accepted connections.</entry> |
| 147 | + <entry>受け入れた接続の合計数</entry> |
137 | 148 | </row>
|
138 | 149 | <row>
|
139 | 150 | <entry>listen queue</entry>
|
140 |
| - <entry>The number of requests (backlog) currently waiting for a free process.</entry> |
| 151 | + <entry>空きのプロセスを待っている(backlogに入っている)現在のリクエスト数</entry> |
141 | 152 | </row>
|
142 | 153 | <row>
|
143 | 154 | <entry>max listen queue</entry>
|
144 |
| - <entry>The maximum number of requests seen in the listen queue at any one time.</entry> |
| 155 | + <entry>ある一時点でlisten キュー入ったリクエストの最大数</entry> |
145 | 156 | </row>
|
146 | 157 | <row>
|
147 | 158 | <entry>listen queue len</entry>
|
148 |
| - <entry>The maximum allowed size of the listen queue.</entry> |
| 159 | + <entry>許可されているlisten キューの最大サイズ</entry> |
149 | 160 | </row>
|
150 | 161 | <row>
|
151 | 162 | <entry>idle processes</entry>
|
152 |
| - <entry>The number of processes that are currently idle (waiting for requests).</entry> |
| 163 | + <entry>(リクエストを待っている)現在アイドルなプロセス数</entry> |
153 | 164 | </row>
|
154 | 165 | <row>
|
155 | 166 | <entry>active processes</entry>
|
156 |
| - <entry>The number of processes that are currently processing requests.</entry> |
| 167 | + <entry>現在リクエストを処理しているプロセス数</entry> |
157 | 168 | </row>
|
158 | 169 | <row>
|
159 | 170 | <entry>total processes</entry>
|
160 |
| - <entry>The current total number of processes.</entry> |
| 171 | + <entry>現在のプロセスの合計数</entry> |
161 | 172 | </row>
|
162 | 173 | <row>
|
163 | 174 | <entry>max active processes</entry>
|
164 |
| - <entry>The maximum number of concurrently active processes.</entry> |
| 175 | + <entry>同時にアクティブになったプロセスの最大数</entry> |
165 | 176 | </row>
|
166 | 177 | <row>
|
167 | 178 | <entry>max children reached</entry>
|
168 | 179 | <entry>
|
169 |
| - Has the maximum number of processes ever been reached? If so the displayed value is |
170 |
| - <literal>1</literal> otherwise the value is <literal>0</literal>. |
| 180 | + プロセスの最大数に達したことがあるかを示します。 |
| 181 | + ある場合、表示は <literal>1</literal> になります。 |
| 182 | + ない場合、表示は <literal>0</literal> になります。 |
171 | 183 | </entry>
|
172 | 184 | </row>
|
173 | 185 | <row>
|
174 | 186 | <entry>slow requests</entry>
|
175 | 187 | <entry>
|
176 |
| - The total number of requests that have hit the configured |
177 |
| - <literal>request_slowlog_timeout</literal>. |
| 188 | + 設定した <literal>request_slowlog_timeout</literal> |
| 189 | + に到達したリクエストの合計 |
178 | 190 | </entry>
|
179 | 191 | </row>
|
180 | 192 | </tbody>
|
|
186 | 198 | <tgroup cols="2">
|
187 | 199 | <thead>
|
188 | 200 | <row>
|
189 |
| - <entry>Parameter</entry> |
190 |
| - <entry>Description</entry> |
| 201 | + <entry>パラメータ</entry> |
| 202 | + <entry>説明</entry> |
191 | 203 | </row>
|
192 | 204 | </thead>
|
193 | 205 | <tbody>
|
194 | 206 | <row>
|
195 | 207 | <entry>pid</entry>
|
196 |
| - <entry>The system PID of the process.</entry> |
| 208 | + <entry>プロセスの PID</entry> |
197 | 209 | </row>
|
198 | 210 | <row>
|
199 | 211 | <entry>state</entry>
|
200 |
| - <entry>The state of the process - Idle, Running, ...</entry> |
| 212 | + <entry>プロセスの状態 - Idle, Running, ...</entry> |
201 | 213 | </row>
|
202 | 214 | <row>
|
203 | 215 | <entry>start time</entry>
|
204 |
| - <entry>The date/time at which the process started.</entry> |
| 216 | + <entry>プロセスが起動した日付/時刻</entry> |
205 | 217 | </row>
|
206 | 218 | <row>
|
207 | 219 | <entry>start since</entry>
|
208 |
| - <entry>The number of seconds since the process started.</entry> |
| 220 | + <entry>プロセスが起動後、経過した秒数</entry> |
209 | 221 | </row>
|
210 | 222 | <row>
|
211 | 223 | <entry>requests</entry>
|
212 |
| - <entry>The total number of requests served.</entry> |
| 224 | + <entry>処理したリクエスト数</entry> |
213 | 225 | </row>
|
214 | 226 | <row>
|
215 | 227 | <entry>request duration</entry>
|
216 |
| - <entry>The total time in seconds spent serving requests.</entry> |
| 228 | + <entry>リクエストを処理するのに使った時間の合計</entry> |
217 | 229 | </row>
|
218 | 230 | <row>
|
219 | 231 | <entry>request method</entry>
|
220 |
| - <entry>The HTTP method of the last served request.</entry> |
| 232 | + <entry>直近のリクエストの HTTP メソッド</entry> |
221 | 233 | </row>
|
222 | 234 | <row>
|
223 | 235 | <entry>request uri</entry>
|
224 | 236 | <entry>
|
225 |
| - The URI of the last served request (after webserver processing, it may always be |
226 |
| - <literal>/index.php</literal> if you use a front controller pattern redirect). |
| 237 | + 最後に処理したリクエストのURL(webサーバが処理した後のもの。フロントコントローラーパターンを使っている場合、常に <literal>/index.php</literal> になる場合があります) |
227 | 238 | </entry>
|
228 | 239 | </row>
|
229 | 240 | <row>
|
230 | 241 | <entry>content length</entry>
|
231 |
| - <entry>The length of the request body, in bytes, of the last request.</entry> |
| 242 | + <entry>直近のリクエストの、body の長さ(バイト単位)</entry> |
232 | 243 | </row>
|
233 | 244 | <row>
|
234 | 245 | <entry>user</entry>
|
235 |
| - <entry>The HTTP user (<literal>PHP_AUTH_USER</literal>) of the last request.</entry> |
| 246 | + <entry>直近のリクエストの HTTP ユーザー (<literal>PHP_AUTH_USER</literal>)</entry> |
236 | 247 | </row>
|
237 | 248 | <row>
|
238 | 249 | <entry>script</entry>
|
239 | 250 | <entry>
|
240 |
| - The full path of the script executed by the last request. This will be |
241 |
| - <literal>'-'</literal> if not applicable (eg. status page requests). |
| 251 | + 直近のリクエストで実行されたスクリプトのフルパス。 |
| 252 | + 適用できない場合(例: FPM 情報ページへのリクエスト)は、 |
| 253 | + <literal>'-'</literal> になります。 |
242 | 254 | </entry>
|
243 | 255 | </row>
|
244 | 256 | <row>
|
245 | 257 | <entry>last request cpu</entry>
|
246 | 258 | <entry>
|
247 |
| - The %cpu of the last request. This will be 0 if the process is not Idle because the |
248 |
| - calculation is done when the request processing is complete. |
| 259 | + 直近のリクエストの、%cpu の値。 |
| 260 | + プロセスがアイドルでない場合、この値は0になります。 |
| 261 | + なぜなら、リクエストの処理が終わった時にこの値は計算されるからです。 |
249 | 262 | </entry>
|
250 | 263 | </row>
|
251 | 264 | <row>
|
252 | 265 | <entry>last request memory</entry>
|
253 | 266 | <entry>
|
254 |
| - The maximum amount of memory consumed by the last request. This will be 0 if the process is |
255 |
| - not Idle because the calculation is done when the request processing is complete. |
| 267 | + 直近のリクエストが消費したメモリの最大値。 |
| 268 | + プロセスがアイドルでない場合、この値は0になります。 |
| 269 | + なぜなら、リクエストの処理が終わった時にこの値は計算されるからです。 |
256 | 270 | </entry>
|
257 | 271 | </row>
|
258 | 272 | </tbody>
|
|
261 | 275 |
|
262 | 276 | <note>
|
263 | 277 | <para>
|
264 |
| - All values are specific to the pool and are reset when FPM is restarted. |
| 278 | + プールに特有の全ての値は、FPM が再起動されるとリセットされます。 |
265 | 279 | </para>
|
266 | 280 | </note>
|
267 | 281 |
|
268 | 282 | <note>
|
269 | 283 | <para>
|
270 |
| - OpenMetrics format output uses different parameter types to better suit the OpenMetrics format. |
271 |
| - The parameters and descriptions of their values are included in the OpenMetrics format output. |
| 284 | + OpenMetrics フォーマットの出力は、 |
| 285 | + OpenMetrics に準拠した、異なるパラメータタイプを使います。 |
| 286 | + 出力のパラメータとその説明は、 |
| 287 | + OpenMetrics フォーマット出力に含まれています。 |
272 | 288 | </para>
|
273 | 289 | </note>
|
274 | 290 | </sect2>
|
|
0 commit comments