سلام مجدد
اسکریپت معرفی شده بسیار کارآمد هست مشکل رو تا حدی زیادی حل کرده
شکر خدا از لحظه ای که پیشنهادات رو اعمال کردم MYSQL استاپ نشده و کار می کنه
مصرف سی پی یو هم نرمال شده و بین 800 مگاهرتز تا 2 گیگاهرتز کار می کنه
اما
هنوز اکثر اوقات مصرف ناگهان به 11 تا 15 گیگاهرتز سی پی یو میرسه (ولی خوشبختانه استاپ نمیشه ای اس کیو ال)
مجدد اسکریپت رو اجرا کردم نکته عجیبی برام وجود داره!!!!
با وجود این که مقادیر پیشنهادی رو در my.cnf اضافه کردم
بازهم دو مقدار زیر رو هربار که اجرا می کنم پیشنهاد میده
امروز که مجدد تست کردم اسکریپ رو کل مقادیر رو مجدد پیشنهاد داده بود اضافه کنمکد:tmp_table_size (> 32M) max_heap_table_size (> 16M)
البته قابل ذکره که مقادیر همون مقادیر قبل بود!!!
عجیبه با این که در فایل my.cnf وجود داره بازهم پیشنهاد میده!!!
کسی می دونه علت چیه؟؟؟
این هم کل محتویات my.cnf بنده
کسی میدونه چرا بازم میگه مقادیر زیر رو اضافه کنم؟؟؟ (با وجود این که این مقادیر موجوده)کد:[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql skip-innodb skip-bdb max_connections=100 wait_timeout=28800 interactive_timeout=28800 query_cache_size=8M tmp_table_size=32M max_heap_table_size=16M thread_cache_size=4 table_cache= 64 # Default to using old password format for compatibility with mysql 3.x # clients (those using the mysqlclient10 compatibility package). old_passwords=1 # To allow mysqld to connect to a MySQL Cluster management daemon, uncomment # these lines and adjust the connectstring as needed. #ndbcluster #ndb-connectstring="nodeid=4;host=localhost:1186" [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [ndbd] # If you are running a MySQL Cluster storage daemon (ndbd) on this machine, # adjust its connection to the management daemon here. # Note: ndbd init script requires this to include nodeid! connect-string="nodeid=2;host=localhost:1186" [ndb_mgm] # connection string for MySQL Cluster management tool connect-string="host=localhost:1186"
کد:max_connections (> 100) wait_timeout (< 28800) interactive_timeout (< 28800) query_cache_size (> 8M) tmp_table_size (> 32M) max_heap_table_size (> 16M) table_cache (> 64)





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