From 1e73ae9168b3c6484c85306a4b0ea9c8b7e3a8f4 Mon Sep 17 00:00:00 2001 From: Harsh Khandeparkar Date: Thu, 2 Jan 2025 21:23:33 +0530 Subject: [PATCH] feat: reduced max threads --- mysql/mysqld.cnf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mysql/mysqld.cnf b/mysql/mysqld.cnf index c3f3d50..cc0d79a 100644 --- a/mysql/mysqld.cnf +++ b/mysql/mysqld.cnf @@ -1,5 +1,5 @@ [mysqld] -general_log=1 +general_log=1 general_log_file = /var/lib/mysql/mysql.log # Slow query settings: @@ -10,4 +10,8 @@ long_query_time=5.0 # Error logging log_error=/var/lib/mysql/mysql_error.log -innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:5G \ No newline at end of file +innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:5G + +# Processes limiting +max_connections=16 +thread_cache_size=4 \ No newline at end of file