-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Low-level WSGI handling now performed by Werkzeug (and also Jinja2 fo…
…r templating needs)
- Loading branch information
Showing
62 changed files
with
2,927 additions
and
2,017 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
## JVM configuration | ||
|
||
################################################################ | ||
## IMPORTANT: JVM heap size | ||
################################################################ | ||
## | ||
## You should always set the min and max JVM heap | ||
## size to the same value. For example, to set | ||
## the heap to 4 GB, set: | ||
## | ||
## -Xms4g | ||
## -Xmx4g | ||
## | ||
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html | ||
## for more information | ||
## | ||
################################################################ | ||
|
||
# Xms represents the initial size of total heap space | ||
# Xmx represents the maximum size of total heap space | ||
|
||
-Xms4g | ||
-Xmx4g | ||
|
||
################################################################ | ||
## Expert settings | ||
################################################################ | ||
## | ||
## All settings below this section are considered | ||
## expert settings. Don't tamper with them unless | ||
## you understand what you are doing | ||
## | ||
################################################################ | ||
|
||
## GC configuration | ||
-XX:+UseConcMarkSweepGC | ||
-XX:CMSInitiatingOccupancyFraction=75 | ||
-XX:+UseCMSInitiatingOccupancyOnly | ||
|
||
## G1GC Configuration | ||
# NOTE: G1GC is only supported on JDK version 10 or later. | ||
# To use G1GC uncomment the lines below. | ||
# 10-:-XX:-UseConcMarkSweepGC | ||
# 10-:-XX:-UseCMSInitiatingOccupancyOnly | ||
# 10-:-XX:+UseG1GC | ||
# 10-:-XX:G1ReservePercent=25 | ||
# 10-:-XX:InitiatingHeapOccupancyPercent=30 | ||
|
||
## JVM temporary directory | ||
-Djava.io.tmpdir=${ES_TMPDIR} | ||
|
||
## heap dumps | ||
|
||
# generate a heap dump when an allocation from the Java heap fails | ||
# heap dumps are created in the working directory of the JVM | ||
-XX:+HeapDumpOnOutOfMemoryError | ||
|
||
# specify an alternative path for heap dumps; ensure the directory exists and | ||
# has sufficient space | ||
-XX:HeapDumpPath=/var/lib/elasticsearch | ||
|
||
# specify an alternative path for JVM fatal error logs | ||
-XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log | ||
|
||
## JDK 8 GC logging | ||
8:-XX:+PrintGCDetails | ||
8:-XX:+PrintGCDateStamps | ||
8:-XX:+PrintTenuringDistribution | ||
8:-XX:+PrintGCApplicationStoppedTime | ||
8:-Xloggc:/var/log/elasticsearch/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=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# this should be copied to /etc/locale.gen, and then locale-gen should | ||
# run to create the following locales (not setting anyone to default) | ||
en_US.UTF-8 UTF-8 | ||
sv_SE.UTF-8 UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env python | ||
from ferenda import manager | ||
manager.runsetup() | ||
if __name__ == '__main__': | ||
manager.runsetup() | ||
|
Oops, something went wrong.