Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space

# -Xms{{cfg.runtime.minHeapsize}}
# -Xmx{{cfg.runtime.maxHeapsize}}
-Xms{{cfg.runtime.minHeapsize}}
-Xmx{{cfg.runtime.maxHeapsize}}

################################################################
## Expert settings
Expand Down
4 changes: 2 additions & 2 deletions components/automate-backend-opensearch/habitat/default.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
#
# If you are modifying this file, you almost surely also want to
# modify pkg/es/config_request.go. The DefaultConfigRequest() function
Expand Down Expand Up @@ -225,7 +225,7 @@
# ======================== Elasticsearch Plugins Configuration =========================
[plugins]
[plugins.security]
allow_unsafe_democertificates = true
allow_unsafe_democertificates = false
Comment thread
marcparadise marked this conversation as resolved.
allow_default_init_securityindex = true
nodes_dn = "- CN=chefnode,O=Chef Software Inc,L=Seattle,ST=Washington,C=US"
enable_snapshot_restore_privilege = true
Expand Down
6 changes: 4 additions & 2 deletions components/automate-cs-oc-erchef/habitat/config/vm.args
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@

## Enable kernel poll and a few async threads
+K true
+A 5
+A 10
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will hurt, but unless our erlang procs are blocking on a lot of IO, I don't think it will change much. either.


+P 262144

## Increase number of concurrent ports/sockets
-env ERL_MAX_PORTS 4096
-env ERL_MAX_PORTS 65536

## Add directory for hot patches to the front of the code path
-pa lib/patches
Expand Down
4 changes: 2 additions & 2 deletions components/automate-opensearch/habitat/config/opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ node.max_local_storage_nodes: {{cfg.node.max_local_storage_nodes}}
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data:
path.data:
- {{pkg.svc_data_path}}/{{cfg.path.data}}
- {{pkg.svc_var_path}}
#
Expand Down Expand Up @@ -154,7 +154,7 @@ plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: node1.pem
plugins.security.ssl.http.pemkey_filepath: node1-key.pem
plugins.security.ssl.http.pemtrustedcas_filepath: root-ca.pem
plugins.security.allow_unsafe_democertificates: true
plugins.security.allow_unsafe_democertificates: false
plugins.security.allow_default_init_securityindex: true
plugins.security.authcz.admin_dn:
- CN=chefadmin,O=Chef Software Inc,L=Seattle,ST=Washington,C=US
Expand Down
6 changes: 3 additions & 3 deletions components/automate-pg-gateway/habitat/config/haproxy.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
global
maxconn 1024
maxconn {{../cfg.max_connections}}
stats socket {{pkg.svc_var_path}}/status.sock mode 600
log stdout format raw daemon info

Expand Down Expand Up @@ -55,10 +55,10 @@ backend automate_postgresql
{{~#if ../cfg.resolvers.nameservers }}
server-template {{node.address}} 8 {{node.address}}:{{node.port}} check resolvers pgdns init-addr none resolve-prefer ipv4
{{else}}
server {{node.address}} {{node.address}}:{{node.port}} maxconn {{../cfg.max_connections}} {{~#if ../cfg.automate_ha_chef_manage_pg }} check port 6432 {{~/if}}
server {{node.address}} {{node.address}}:{{node.port}} maxconn {{../cfg.max_connections}} {{~#if ../cfg.automate_ha_chef_manage_pg }} check port 6432 {{~/if}}
{{~/if}}
{{else}}
server {{node.address}} {{node.address}}:{{node.port}} maxconn {{../cfg.max_connections}} {{~#if ../cfg.automate_ha_chef_manage_pg }} check port 6432 {{~/if}}
server {{node.address}} {{node.address}}:{{node.port}} maxconn {{../cfg.max_connections}} {{~#if ../cfg.automate_ha_chef_manage_pg }} check port 6432 {{~/if}}
{{~/if}}
{{~/each}}
{{else~}}
Expand Down
Loading