Skip to content

Commit

Permalink
avniproject/avni-product#1578 | Configure heap and non-heap memory wi…
Browse files Browse the repository at this point in the history
…th gc logs for a 4gb system
  • Loading branch information
himeshr committed Apr 18, 2024
1 parent 6b8a53f commit f0a7834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure/group_vars/prod_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ scheduled_job_repeat_interval: "120"

avni_server_host: "localhost"
avni_server_port: "8021"
avni_server_opts: " -Dnewrelic.environment={{ newrelic_environment }} -javaagent:/opt/newrelic/newrelic.jar -Dlogging.file={{avni_server_access_log_dir}}/chs.log -Dlogging.path={{avni_server_access_log_dir}} -Dlogging.file.max-size=5mb -Xmx7168m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -XX:-OmitStackTraceInFastThrow"
avni_server_opts: " -Dnewrelic.environment={{ newrelic_environment }} -javaagent:/opt/newrelic/newrelic.jar -Dlogging.file={{avni_server_access_log_dir}}/chs.log -Dlogging.path={{avni_server_access_log_dir}} -Dlogging.file.max-size=5mb -Xms2560m -Xmx2560m -XX:MaxMetaspaceSize=512m -XX:CompressedClassSpaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath={{avni_server_access_log_dir}}/ -XX:OnOutOfMemoryError=\"shutdown -r\" -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -XX:+UseStringDeduplication -XX:-OmitStackTraceInFastThrow -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=50M -Xloggc:{{avni_server_access_log_dir}}/gc.log"
avni_server_db_host: "serverdb.openchs.org."
avni_server_db_port: "5432"
avni_server_db_schema: "public"
Expand Down

0 comments on commit f0a7834

Please sign in to comment.