همچنان وضیعت سرور خوب نیست با مای اسکیول تیونر یه کارایی کردم
محتوای فایل کانفیگ
کد PHP:
[root@server ~]# cat /etc/my.cnf[mysqld]default-storage-engine=MyISAMinnodb_file_per_table=1performance-schema=0local-infile=0max_allowed_packet=1Mopen_files_limit=65535innodb_buffer_pool_size = 400Mmax_heap_table_size = 32Mtmp_table_size = 512Minnodb_log_file_size = 120Mmax_heap_table_size = 512Minnodb_buffer_pool_instances = 1table_open_cache = 6000key_buffer_size = 256M[root@server ~]#
و اما ارور ها و.. مای اسکیول تیونر
کد PHP:
[root@server ~]# perl mysqltuner.pl >> MySQLTuner 1.7.0 - Major Hayden <major@mhtx.net> >> Bug reports, feature requests, and downloads at http://mysqltuner.com/ >> Run with '--help' for additional options and output filtering
[--] Skipped version check for MySQLTuner script[OK] Currently running supported MySQL version 5.6.34[OK] Operating on 64-bit architecture -------- Storage Engine Statistics -----------------------------------------------------------------[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA [--] Data in MyISAM tables: 4G (Tables: 7627)[--] Data in InnoDB tables: 394M (Tables: 221)[OK] Total fragmented tables: 0 -------- Security Recommendations ------------------------------------------------------------------[OK] There are no anonymous accounts for any database users[OK] All database users have passwords assigned[!!] There is no basic password file list! -------- CVE Security Recommendations --------------------------------------------------------------[--] Skipped due to --cvefile option undefined -------- Performance Metrics -----------------------------------------------------------------------[--] Up for: 1m 26s (8K q [98.849 qps], 222 conn, TX: 743M, RX: 804K)[--] Reads / Writes: 97% / 3%[--] Binary logging is disabled[--] Physical Memory : 7.6G[--] Max MySQL memory : 1.3G[--] Other process memory: 448.7M[--] Total buffers: 1.2G global + 1.1M per thread (151 max threads)[--] P_S Max memory usage: 0B[--] Galera GCache Max memory usage: 0B[OK] Maximum reached memory usage: 1.2G (15.43% of installed RAM)[OK] Maximum possible memory usage: 1.3G (17.32% of installed RAM)[OK] Overall possible memory usage with other process is compatible with memory available[OK] Slow queries: 0% (0/8K)[OK] Highest usage of available connections: 13% (20/151)[OK] Aborted connections: 0.00% (0/222)[!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance[OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.[OK] Sorts requiring temporary tables: 1% (25 temp sorts / 1K sorts)[OK] No joins without indexes[!!] Temporary tables created on disk: 62% (345 on disk / 548 total)[OK] Thread cache hit rate: 90% (20 created / 222 connections)[OK] Table cache hit rate: 98% (370 open / 377 opened)[OK] Open file limit used: 0% (531/65K)[OK] Table locks acquired immediately: 98% (7K immediate / 7K locks) -------- Performance schema ------------------------------------------------------------------------[--] Performance schema is disabled. -------- ThreadPool Metrics ------------------------------------------------------------------------[--] ThreadPool stat is disabled. -------- MyISAM Metrics ----------------------------------------------------------------------------[!!] Key buffer used: 22.3% (59M used / 268M cache)[OK] Key buffer size / total MyISAM indexes: 256.0M/205.8M[OK] Read Key buffer hit rate: 99.0% (1M cached / 10K reads)[OK] Write Key buffer hit rate: 99.8% (34K cached / 70 writes) -------- InnoDB Metrics ----------------------------------------------------------------------------[--] InnoDB is enabled.[--] InnoDB Thread Concurrency: 0[OK] InnoDB File per table is activated[OK] InnoDB buffer pool / data size: 400.0M/394.1M[OK] InnoDB log file size / InnoDB Buffer pool size: 120.0M/400.0M should be equal 25%[OK] InnoDB buffer pool instances: 1[--] InnoDB Buffer Pool Chunk Size not used or defined in your version[OK] InnoDB Read buffer efficiency: 99.92% (6162985 hits/ 6168039 total)[!!] InnoDB Write Log efficiency: 28.57% (6 hits/ 21 total)[OK] InnoDB log waits: 0.00% (0 waits / 15 writes) -------- AriaDB Metrics ----------------------------------------------------------------------------[--] AriaDB is disabled. -------- TokuDB Metrics ----------------------------------------------------------------------------[--] TokuDB is disabled. -------- XtraDB Metrics ----------------------------------------------------------------------------[--] XtraDB is disabled. -------- RocksDB Metrics ---------------------------------------------------------------------------[--] RocksDB is disabled. -------- Spider Metrics ----------------------------------------------------------------------------[--] Spider is disabled. -------- Connect Metrics ---------------------------------------------------------------------------[--] Connect is disabled. -------- Galera Metrics ----------------------------------------------------------------------------[--] Galera is disabled. -------- Replication Metrics -----------------------------------------------------------------------[--] Galera Synchronous replication: NO[--] No replication slave(s) for this server.[--] This is a standalone server. -------- Recommendations ---------------------------------------------------------------------------General recommendations: MySQL started within last 24 hours - recommendations may be inaccurate Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1 Temporary table size is already large - reduce result set size Reduce your SELECT DISTINCT queries without LIMIT clauses[root@server ~]#
دوستان کمک کنید لطفا !
- - - Updated - - -
اگر درسکدا نیومد توی پست بین گذاشتم ببینید
http://pastebin.com/rLTkHrkW