سلام دوستان
من یک وی پی اس دارم با پنل کلوکسو ، تو انجمنش هر چی گشتم چیزی درباره بهینه سازی تنظیمات my.cnf نگفته بود و فقط توی جواب اخر یه بنده خدایی جواب داده بود که برای بهترین سرعت بهتره همون دیفالت my.cnf که روش هست رو استفاده کنید
الان my.cnf من اینیه که کپی میکنم براتون :
کد:[mysqld]skip-innodb default-storage-engine=myisam datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 # Disabling symbolic-links is recommended to prevent assorted security risks; # to do so, uncomment this line: # symbolic-links=0 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid
mysqltuner هم نصب کردم ولی چیز خاصی پیشنهاد نداده بود .
ولی با htop که چک کردم mysql بیشترین فشار رو به سی پی یو وارد میکنه ، طبق عکس زیر
![]()





پاسخ با نقل قول

