Jump to content
  • 0

Настройка my.cnf для битрикс


rus
 Share

Question

Собсно вопрос: а кто уже настраивал на vps my.cnf под битрикс, есть такие?

Рекомендации в нете конечно же есть на эту тему, но все индивидуально: CentOS 6; RAM-1024; HDD-32Гб.

Настроил следующим образом:


[mysqld]
query_cache_limit = 128M
query_cache_size = 64M
query_cache_type = 1
key_buffer_size = 16M
sort_buffer_size = 8M
read_buffer_size = 16M
max_connections = 650
table_cache = 2048
table_open_cache = 2048
thread_cache_size = 8
max_heap_table_size = 128M
tmp_table_size = 128M
join_buffer_size = 2M
innodb_buffer_pool_size = 750M
innodb_additional_mem_pool_size = 50M
innodb_file_io_threads = 8
innodb_lock_wait_timeout = 50
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 2
innodb_flush_method = O_DIRECT
transaction-isolation = READ-COMMITTED
datadir=/var/lib/mysql
port = 3306
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

но тест на производительность не проходит к сожалению..., какие параметры нужно поменять?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy