D
Deleted member 91401
Guest
Currently something is causing this issue on my site;
People are complaining saying the site is slow, which it is, when posting new messages and stuff it does take quite a while compared to how the site use to be, I run it on a VPS that I have command line access too.
I also ran mysqltuner.pl and this is the output as far as I know the my.cnf file is also blank.
People are complaining saying the site is slow, which it is, when posting new messages and stuff it does take quite a while compared to how the site use to be, I run it on a VPS that I have command line access too.
I also ran mysqltuner.pl and this is the output as far as I know the my.cnf file is also blank.
Code:
root@s1 [~]# mysqltuner.sh
-bash: mysqltuner.sh: command not found
root@s1 [~]# perl mysqltuner.sh
Can't open perl script "mysqltuner.sh": No such file or directory
root@s1 [~]# perl mysqltuner.pl
>> MySQLTuner 1.4.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
[OK] Currently running supported MySQL version 5.5.42-cll
[!!] Switch to 64-bit OS - MySQL cannot currently use all of your RAM
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 14M (Tables: 19)
[--] Data in InnoDB tables: 116M (Tables: 326)
[--] Data in MEMORY tables: 378K (Tables: 5)
[!!] Total fragmented tables: 329
ERROR 1018 (HY000) at line 1: Can't read dir of './performance_schema/' (errno: 13)
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 6m 41s (4K q [12.185 qps], 332 conn, TX: 217M, RX: 1M)
[--] Reads / Writes: 88% / 12%
[--] Total buffers: 168.0M global + 2.7M per thread (151 max threads)
[OK] Maximum possible memory usage: 573.8M (14% of installed RAM)
[OK] Slow queries: 0% (2/4K)
[OK] Highest usage of available connections: 7% (12/151)
[!!] Key buffer size / total MyISAM indexes: 8.0M/11.8M
[!!] Key buffer hit rate: 90.3% (2K cached / 238 reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 661 sorts)
[!!] Joins performed without indexes: 17
[!!] Temporary tables created on disk: 99% (528 on disk / 531 total)
[!!] Thread cache is disabled
[OK] Table cache hit rate: 95% (139 open / 146 opened)
[OK] Open file limit used: 3% (36/1K)
[OK] Table locks acquired immediately: 99% (6K immediate / 7K locks)
[OK] InnoDB buffer pool / data size: 128.0M/116.3M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Adjust your join queries to always utilize indexes
When making adjustments, make tmp_table_size/max_heap_table_size equal
Reduce your SELECT DISTINCT queries without LIMIT clauses
Set thread_cache_size to 4 as a starting value
Variables to adjust:
key_buffer_size (> 11.8M)
query_cache_size (>= 8M)
join_buffer_size (> 128.0K, or always use indexes with joins)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
thread_cache_size (start at 4)