Jump to content

Sql Desligando Sosinha Whm


Recommended Posts

Pessoal, estou com varios clientes de hospedagem de site, inclusive um com + de 20 mil acessos


Todos os dias as 22:00 até 1:00 eu percebi que o mysql desliga sosinho 


Entao resolvi procurar uma solução, e não achei nada.


Eu comprei o whmxtra para ver se ajudava em alguma coisa.


e achei o MySQL Performance, so que ele nao altara, so me fala recomendação

 >>  MySQLTuner 1.2.0 - Major Hayden 
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 >>  Run with '--help' for additional options and output filtering
[OK] Logged in using credentials passed on the command line

-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.32-cll
[!!] Switch to 64-bit OS - MySQL cannot currently use all of your RAM

-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster 
[--] Data in MyISAM tables: 53M (Tables: 1289)
[--] Data in InnoDB tables: 100M (Tables: 1255)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[--] Data in MEMORY tables: 0B (Tables: 2)
[!!] Total fragmented tables: 100

-------- Security Recommendations  -------------------------------------------
[OK] All database users have passwords assigned

-------- Performance Metrics -------------------------------------------------
[--] Up for: 1d 9h 36m 4s (15M q [130.007 qps], 229K conn, TX: 347B, RX: 2B)
[--] Reads / Writes: 98% / 2%
[--] Total buffers: 168.0M global + 2.7M per thread (151 max threads)
[OK] Maximum possible memory usage: 573.8M (4% of installed RAM)
[OK] Slow queries: 0% (0/15M)
[OK] Highest usage of available connections: 73% (111/151)
[OK] Key buffer size / total MyISAM indexes: 8.0M/14.7M
[OK] Key buffer hit rate: 99.8% (5M cached / 8K reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (9K temp sorts / 2M sorts)
[!!] Joins performed without indexes: 1906
[!!] Temporary tables created on disk: 40% (975K on disk / 2M total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 0% (400 open / 46K opened)
[OK] Open file limit used: 2% (274/13K)
[OK] Table locks acquired immediately: 99% (18M immediate / 18M locks)
[!!] Connections aborted: 15%
[OK] InnoDB data size / buffer pool: 100.2M/128.0M

-------- Recommendations -----------------------------------------------------
General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    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
    Increase table_cache gradually to avoid file descriptor limits
    Your applications are not closing MySQL connections properly
Variables to adjust:
    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)
    table_cache (> 400)

o que devo fazer ? onde mudo essas configurações ?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

Do you agree with our terms?