Skip to content

Commit 1e73ae9

Browse files
feat: reduced max threads
1 parent cbc822a commit 1e73ae9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mysql/mysqld.cnf

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mysqld]
2-
general_log=1
2+
general_log=1
33
general_log_file = /var/lib/mysql/mysql.log
44

55
# Slow query settings:
@@ -10,4 +10,8 @@ long_query_time=5.0
1010
# Error logging
1111
log_error=/var/lib/mysql/mysql_error.log
1212

13-
innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:5G
13+
innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:5G
14+
15+
# Processes limiting
16+
max_connections=16
17+
thread_cache_size=4

0 commit comments

Comments
 (0)