From cb1affffc00861925c476cb36f3b77cdc0e8d3e3 Mon Sep 17 00:00:00 2001 From: MinJunKKang Date: Tue, 19 Aug 2025 01:29:52 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=9A=A9=EB=9F=89=20=EB=B0=94=EA=BF=94?= =?UTF-8?q?=EB=B2=84=EB=A6=AC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ebextensions_dev/01-env.config | 9 +++++++++ src/main/resources/application.yml | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .ebextensions_dev/01-env.config diff --git a/.ebextensions_dev/01-env.config b/.ebextensions_dev/01-env.config new file mode 100644 index 0000000..97d06ff --- /dev/null +++ b/.ebextensions_dev/01-env.config @@ -0,0 +1,9 @@ +option_settings: + aws:elasticbeanstalk:application:environment: + JAVA_TOOL_OPTIONS: > + -Xms256m -Xmx512m + -XX:+UseG1GC -XX:MaxGCPauseMillis=200 + -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/heapdump.hprof + -XX:+ExitOnOutOfMemoryError + -Dexcel.permits=2 + SERVER_TOMCAT_THREADS_MAX: "50" \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index cf56305..bda25d7 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -126,4 +126,9 @@ spring: client: registration: kakao: - redirect-uri: http://canfly.ap-northeast-2.elasticbeanstalk.com/login/oauth2/code/kakao \ No newline at end of file + redirect-uri: http://canfly.ap-northeast-2.elasticbeanstalk.com/login/oauth2/code/kakao + +server: + tomcat: + threads: + max: ${SERVER_TOMCAT_THREADS_MAX:50} \ No newline at end of file From 3c4d01049a51da53663018bb7263a2abdad43f95 Mon Sep 17 00:00:00 2001 From: MinJunKKang Date: Tue, 19 Aug 2025 01:36:18 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=9A=A9=EB=9F=89=20=EB=B0=94=EA=BF=94?= =?UTF-8?q?=EB=B2=84=EB=A6=AC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ebextensions_dev/01-env.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ebextensions_dev/01-env.config b/.ebextensions_dev/01-env.config index 97d06ff..cd08dde 100644 --- a/.ebextensions_dev/01-env.config +++ b/.ebextensions_dev/01-env.config @@ -1,7 +1,7 @@ option_settings: aws:elasticbeanstalk:application:environment: JAVA_TOOL_OPTIONS: > - -Xms256m -Xmx512m + -Xms512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/heapdump.hprof -XX:+ExitOnOutOfMemoryError