more memz please

This commit is contained in:
Daniel Poelzleithner 2019-08-16 02:39:39 +02:00
parent 7a48a1e2cd
commit b7f8a98276
2 changed files with 3 additions and 1 deletions

View File

@ -39,8 +39,9 @@
cluster_name = "zentralwerk";
dataDir = "/srv/elasticsearch";
listenAddress = "0.0.0.0";
extraJavaOptions = [ "-Xms2g" "-Xmx2g" ];
};
systemd.services.elasticsearch.serviceConfig.Restart = "always";
# does not work, needs to be set on hv (done through ansible)
boot.kernel.sysctl = {

View File

@ -69,6 +69,7 @@
mongodbUri = "mongodb://mongo.serv.zentralwerk.org/graylog";
extraConfig = ''
http_bind_address = 0.0.0.0:9000
http_publish_uri = http://logging.serv.zentralwerk.org/
elasticsearch_shards = 1
allow_highlighting = true
allow_leading_wildcard_searches = true