Hello
Recently my site start to be very slow , and Server load went very high.
Please help me solve this problem , its really effecting my site.
Thanks in advance.
and if you need any more information , please let me know and i will post.
BTW , i am very newbie at this stuff, so please explain me slowly.
My server:
Recently my site start to be very slow , and Server load went very high.
Please help me solve this problem , its really effecting my site.
Thanks in advance.
and if you need any more information , please let me know and i will post.
BTW , i am very newbie at this stuff, so please explain me slowly.
Code:
Server load 74.49 (4 CPUs)
Memory Used 26.37% (546,920 of 2,074,012)
Swap Used 33.87% (1,398,340 of 4,128,664)
Code:
>> MySQLTuner 1.2.0 - Major Hayden <[email protected]>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.1.56
[OK] Operating on 32-bit architecture with less than 2GB RAM
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 371M (Tables: 246)
[--] Data in InnoDB tables: 160K (Tables: 10)
[!!] Total fragmented tables: 47
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 3h 27m 23s (1M q [139.913 qps], 31K conn, TX: 5B, RX: 199M)
[--] Reads / Writes: 99% / 1%
[--] Total buffers: 34.0M global + 2.7M per thread (500 max threads)
[OK] Maximum possible memory usage: 1.3G (68% of installed RAM)
[OK] Slow queries: 0% (505/1M)
[OK] Highest usage of available connections: 50% (252/500)
[OK] Key buffer size / total MyISAM indexes: 8.0M/96.0M
[OK] Key buffer hit rate: 99.9% (87M cached / 87K reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (38 temp sorts / 269K sorts)
[!!] Temporary tables created on disk: 38% (90K on disk / 237K total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 0% (64 open / 8K opened)
[OK] Open file limit used: 3% (95/2K)
[OK] Table locks acquired immediately: 99% (1M immediate / 1M locks)
[OK] InnoDB data size / buffer pool: 160.0K/8.0M
-------- 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
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
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
query_cache_size (>= 8M)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
thread_cache_size (start at 4)
table_cache (> 64)
Code:
Processor Information
Total processors: 4
Processor #1
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
Speed
2133.000 MHz
Cache
4096 KB
Processor #2
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
Speed
2133.000 MHz
Cache
4096 KB
Processor #3
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
Speed
1600.000 MHz
Cache
4096 KB
Processor #4
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
Speed
1600.000 MHz
Cache
4096 KB