SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
27
textproc/opensearch/patches/patch-config_jvm_options
Normal file
27
textproc/opensearch/patches/patch-config_jvm_options
Normal file
|
@ -0,0 +1,27 @@
|
|||
Index: config/jvm.options
|
||||
--- config/jvm.options.orig
|
||||
+++ config/jvm.options
|
||||
@@ -61,20 +61,20 @@
|
||||
-XX:HeapDumpPath=data
|
||||
|
||||
# specify an alternative path for JVM fatal error logs
|
||||
--XX:ErrorFile=logs/hs_err_pid%p.log
|
||||
+-XX:ErrorFile=${VARBASE}/log/opensearch/hs_err_pid%p.log
|
||||
|
||||
## JDK 8 GC logging
|
||||
8:-XX:+PrintGCDetails
|
||||
8:-XX:+PrintGCDateStamps
|
||||
8:-XX:+PrintTenuringDistribution
|
||||
8:-XX:+PrintGCApplicationStoppedTime
|
||||
-8:-Xloggc:logs/gc.log
|
||||
+8:-Xloggc:${VARBASE}/log/opensearch/gc.log
|
||||
8:-XX:+UseGCLogFileRotation
|
||||
8:-XX:NumberOfGCLogFiles=32
|
||||
8:-XX:GCLogFileSize=64m
|
||||
|
||||
# JDK 9+ GC logging
|
||||
-9-:-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m
|
||||
+9-:-Xlog:gc*,gc+age=trace,safepoint:file=${VARBASE}/log/opensearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m
|
||||
|
||||
# Explicitly allow security manager (https://bugs.openjdk.java.net/browse/JDK-8270380)
|
||||
18-:-Djava.security.manager=allow
|
Loading…
Add table
Add a link
Reference in a new issue