You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Configuration.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -580,7 +580,8 @@ We also added an example(for unit testing) about this, in nginx.conf
580
580
}
581
581
```
582
582
583
-
The example java rewrite handler code can be found from https://github.com/nginx-clojure/nginx-clojure/blob/master/test/java/nginx/clojure/java/RewriteHandlerTestSet4NginxJavaRingHandler.java#L35
583
+
The example java rewrite handler code can be found from
<p>The example java rewrite handler code can be found from <ahref="https://github.com/nginx-clojure/nginx-clojure/blob/master/test/java/nginx/clojure/java/RewriteHandlerTestSet4NginxJavaRingHandler.java#L35">https://github.com/nginx-clojure/nginx-clojure/blob/master/test/java/nginx/clojure/java/RewriteHandlerTestSet4NginxJavaRingHandler.java#L35</a></p>
496
+
<p>The example java rewrite handler code can be found from
Defines jvm shared library path. When `auto` is used it will auto-detect jvm path otherwise it should be a real jvm shared library path. e.g.
54
-
* On Windows 32-bit it maybe is `C:/Program Files/Java/jdk1.7.0_25/jre/bin/server/jvm.dll`,
55
-
* On MacOSX it maybe is `/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries/libserver.dylib` or `/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/lib/server/libjvm.dylib`;
56
-
* On Ubuntu, it maybe is `/usr/lib/jvm/java-7-oracle/jre/lib/amd64/server/libjvm.so`;
57
-
* On CentOS 64-bit, it maybe is `/usr/java/jdk1.6.0_45/jre/lib/amd64/server/libjvm.so`;
58
-
* On CentOS 32-bit, it maybe is `/usr/java/jdk1.7.0_51/jre/lib/i386/server/libjvm.so`;
@@ -64,7 +91,7 @@ Defines jvm shared library path. When `auto` is used it will auto-detect jvm pat
64
91
***Context**: http
65
92
***repeatable** true
66
93
67
-
Defines a varaible which can be reused in jvm related directives such as [jvm_var](#jvm_var), [jvm_classpath](#jvm_classpath), [jvm_options](#jvm_options).
94
+
Defines a varaible which can be reused in jvm related directives such as [jvm_var](#user-content-jvm_var), [jvm_classpath](#user-content-jvm_classpath), [jvm_options](#user-content-jvm_options).
68
95
69
96
e.g.
70
97
@@ -575,7 +602,7 @@ Here 's an example to implement a simple HTTP Basic Authentication.
575
602
***Default**: —
576
603
***Context**: location
577
604
578
-
Specifies a access handler by a block of inline code. See [access_handler_name](#access_handler_name).
605
+
Specifies a access handler by a block of inline code. See [access_handler_name](#user-content-access_handler_name).
tiny map |24 |entries x 4| 4G (64-bit) or 2G (32-bit)| 2^31=2.14Billions | 16M | 4G (64-bit) or 2G (32-bit) |
995
-
hash map |40(64-bit) or 28(32-bit)|entries x 8(64-bit) or 4 (32-bit) |OS process memory limit| 2^63 (64-bit) or 2^31 (32-bit)| OS process memory limit | OS process memory limit |
996
-
997
1019
But note that if needed memory size is less than half of OS page size the real allocated size of nginx slab only can be
998
1020
2^3 = 8, 2^4 = 16, 2^5 = 32,..., 2^(ngx_pagesize_shift - 1).So on 64-bit OS entry structure size of tiny map really
999
1021
uses 32Bytes hash map uses 64Bytes. We'll do some optimize work in the future versions.
0 commit comments