Mercurial > hg > nginx-site
comparison xml/en/docs/freebsd_tuning.xml @ 148:682163f2b298
Unified article/path and module/pathname into a single "path".
"path" no longer emits double quotes so preserve them where
needed. Replaced some misuses of "path" and "dirname".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Oct 2011 13:28:36 +0000 |
parents | 7db449e89e92 |
children | 4c6d2c614d2c |
comparison
equal
deleted
inserted
replaced
147:8057b7793bd9 | 148:682163f2b298 |
---|---|
24 | 24 |
25 <para> | 25 <para> |
26 After the connection has been established it is placed in the listen queue | 26 After the connection has been established it is placed in the listen queue |
27 of the listen socket. | 27 of the listen socket. |
28 To see the current listen queues state, you may run the command | 28 To see the current listen queues state, you may run the command |
29 <path>netstat -Lan</path>: | 29 “<command>netstat -Lan</command>”: |
30 | 30 |
31 <programlisting> | 31 <programlisting> |
32 Current listen queue sizes (qlen/incqlen/maxqlen) | 32 Current listen queue sizes (qlen/incqlen/maxqlen) |
33 Proto Listen Local Address | 33 Proto Listen Local Address |
34 tcp4 <b>10</b>/0/128 *.80 | 34 tcp4 <b>10</b>/0/128 *.80 |
162 this article. | 162 this article. |
163 The page size jumbo clusters are usually used for sending only, | 163 The page size jumbo clusters are usually used for sending only, |
164 while the mbuf clusters are used for both sending and receiving. | 164 while the mbuf clusters are used for both sending and receiving. |
165 | 165 |
166 To see the current usage of the mbufs and clusters and their limits, | 166 To see the current usage of the mbufs and clusters and their limits, |
167 you may run the command <nobr><path>netstat -m</path>.</nobr> | 167 you may run the command <nobr>“<command>netstat -m</command>”.</nobr> |
168 Here is a sample from FreeBSD 7.2/amd64 with the default settings: | 168 Here is a sample from FreeBSD 7.2/amd64 with the default settings: |
169 | 169 |
170 <programlisting> | 170 <programlisting> |
171 1477/<b>3773/5250 mbufs</b> in use (current/cache/total) | 171 1477/<b>3773/5250 mbufs</b> in use (current/cache/total) |
172 771/2203/<b>2974/25600 mbuf clusters</b> in use (current/cache/total/max) | 172 771/2203/<b>2974/25600 mbuf clusters</b> in use (current/cache/total/max) |
237 and memory usage by using the cached file pages. | 237 and memory usage by using the cached file pages. |
238 </para> | 238 </para> |
239 | 239 |
240 <para> | 240 <para> |
241 And again, the amd64 sendfile implementation is the best: | 241 And again, the amd64 sendfile implementation is the best: |
242 the zeros in the <nobr><path>netstat -m</path></nobr> output | 242 the zeros in the <nobr>“<code>netstat -m</code>”</nobr> output |
243 <programlisting> | 243 <programlisting> |
244 ... | 244 ... |
245 <b>0/0/0</b> sfbufs in use (current/peak/max) | 245 <b>0/0/0</b> sfbufs in use (current/peak/max) |
246 ... | 246 ... |
247 </programlisting> | 247 </programlisting> |