From f9af7d9aacb9a9dabfa0de58e4a383fe8c8775de Mon Sep 17 00:00:00 2001 From: Kris Redding Date: Thu, 18 Jun 2026 08:04:51 -0400 Subject: [PATCH 1/3] update ignore file --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96c0ecc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +docs/ \ No newline at end of file From 5b717509bb1ba576afec3e420cebae401c6feedb Mon Sep 17 00:00:00 2001 From: Kris Redding Date: Fri, 26 Jun 2026 22:10:24 -0400 Subject: [PATCH 2/3] update main branch for memore leak issue --- .gitignore | 3 ++- config/user.cnf | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 96c0ecc..d751f05 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -docs/ \ No newline at end of file +docs/ +*.env \ No newline at end of file diff --git a/config/user.cnf b/config/user.cnf index 38d43ba..0f9af8d 100644 --- a/config/user.cnf +++ b/config/user.cnf @@ -2,5 +2,18 @@ # Needed for compatibility with existing SQL clients / WordPress. default-authentication-plugin=mysql_native_password +# 1. CRITICAL: Stop MySQL 8.0.24 from misreading host memory +innodb_dedicated_server = OFF + +# 2. Adjust pool size to exactly 50% of your Render RAM +# (e.g., 256M if you have a 512MB RAM plan, 512M if you have 1GB RAM) +innodb_buffer_pool_size = 256M + +# 3. Prevent thread bloat from active traffic spikes +max_connections = 40 + +# 4. HUGE WIN: Instantly reclaims 100MB-150MB of baseline container RAM +performance_schema = OFF + # Listen on all interfaces bind-address=0.0.0.0 From 84d8901861dff795c99549d1b202215593acd4a6 Mon Sep 17 00:00:00 2001 From: Kris Redding Date: Sun, 12 Jul 2026 00:29:50 -0400 Subject: [PATCH 3/3] upgrade instance cnf --- config/user.cnf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/user.cnf b/config/user.cnf index 0f9af8d..c944dca 100644 --- a/config/user.cnf +++ b/config/user.cnf @@ -7,10 +7,10 @@ innodb_dedicated_server = OFF # 2. Adjust pool size to exactly 50% of your Render RAM # (e.g., 256M if you have a 512MB RAM plan, 512M if you have 1GB RAM) -innodb_buffer_pool_size = 256M +innodb_buffer_pool_size = 1G # 3. Prevent thread bloat from active traffic spikes -max_connections = 40 +max_connections = 85 # 4. HUGE WIN: Instantly reclaims 100MB-150MB of baseline container RAM performance_schema = OFF