Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_limit_conn_module.xml @ 625:af3f38e349eb
Removed terminal whitespace and fixed apostrophes used.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sat, 11 Aug 2012 04:55:25 +0000 |
parents | 39a51e664374 |
children | 6087d3fa6919 |
comparison
equal
deleted
inserted
replaced
624:4b5163be537f | 625:af3f38e349eb |
---|---|
145 limit_conn_zone $binary_remote_addr zone=addr:10m; | 145 limit_conn_zone $binary_remote_addr zone=addr:10m; |
146 </example> | 146 </example> |
147 Here, an IP address of the client serves as a key. | 147 Here, an IP address of the client serves as a key. |
148 Note that instead of <var>$remote_addr</var>, the | 148 Note that instead of <var>$remote_addr</var>, the |
149 <var>$binary_remote_addr</var> variable is used here. | 149 <var>$binary_remote_addr</var> variable is used here. |
150 The length of the <var>$remote_addr</var> variable's value can | 150 The length of the <var>$remote_addr</var> variable’s value can |
151 range from 7 to 15 bytes, and the stored state occupies either | 151 range from 7 to 15 bytes, and the stored state occupies either |
152 32 or 64 bytes of memory on 32-bit platforms, and always 64 | 152 32 or 64 bytes of memory on 32-bit platforms, and always 64 |
153 bytes on 64-bit platforms. | 153 bytes on 64-bit platforms. |
154 The length of the <var>$binary_remote_addr</var> variable's value | 154 The length of the <var>$binary_remote_addr</var> variable’s value |
155 is always 4 bytes, and the stored state always occupies 32 bytes | 155 is always 4 bytes, and the stored state always occupies 32 bytes |
156 on 32-bit platforms, and 64 bytes on 64-bit platforms. | 156 on 32-bit platforms, and 64 bytes on 64-bit platforms. |
157 One megabyte zone can keep about 32 thousand 32-byte states, | 157 One megabyte zone can keep about 32 thousand 32-byte states, |
158 and about 16 thousand 64-byte states. | 158 and about 16 thousand 64-byte states. |
159 If the storage for a zone is exhausted, the server will return error | 159 If the storage for a zone is exhausted, the server will return error |