Skocz do zawartości
Zaloguj się, aby obserwować  
adifpll

Problem z lost connection

Polecane posty

Witajcie, od kilku dni borykam się z małym problemem otóż ciągle mam komunikaty typu

Lost connection to MySQL server at 'reading authorization packet'

o to logi z mysqltuner


[OK] Logged in using credentials from debian maintenance account.
 >>  MySQLTuner 1.6.4 - 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.5.47-0+deb7u1
[OK] Operating on 32-bit architecture with less than 2GB RAM

-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 528K (Tables: 32)
[--] Data in InnoDB tables: 20M (Tables: 66)
[!!] Total fragmented tables: 66

-------- Security Recommendations  -------------------------------------------
[OK] There are no anonymous accounts for any database users
[OK] All database users have passwords assigned
[!!] User '' hasn't specific host restriction.
[!!] User '' hasn't specific host restriction.
[!!] User '' hasn't specific host restriction.
[!!] User '' hasn't specific host restriction.
[!!] User '' hasn't specific host restriction.
[!!] There is no basic password file list!

-------- CVE Security Recommendations  ---------------------------------------
[--] Skipped due to --cvefile option undefined

-------- Performance Metrics -------------------------------------------------
[--] Up for: 42m 14s (14K q [5.846 qps], 3K conn, TX: 21M, RX: 1M)
[--] Reads / Writes: 80% / 20%
[--] Binary logging is disabled
[--] Total buffers: 352.0M global + 2.9M per thread (500 max threads)
[OK] Maximum reached memory usage: 366.4M (36.28% of installed RAM)
[!!] Maximum possible memory usage: 1.7G (177.19% of installed RAM)
[OK] Slow queries: 0% (0/14K)
[OK] Highest usage of available connections: 1% (5/500)
[!!] Aborted connections: 4.59%  (142/3093)
[OK] Query cache efficiency: 59.3% (4K cached / 7K selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 535 sorts)
[OK] Temporary tables created on disk: 23% (679 on disk / 2K total)
[OK] Thread cache hit rate: 99% (5 created / 3K connections)
[OK] Table cache hit rate: 38% (144 open / 371 opened)
[OK] Open file limit used: 4% (112/2K)
[OK] Table locks acquired immediately: 100% (5K immediate / 5K locks)

-------- MyISAM Metrics ------------------------------------------------------
[!!] Key buffer used: 11.5% (7M used / 67M cache)
[OK] Key buffer size / total MyISAM indexes: 64.0M/232.0K
[!!] Read Key buffer hit rate: 9.3% (151 cached / 137 reads)

-------- InnoDB Metrics ------------------------------------------------------
[--] InnoDB is enabled.
[OK] InnoDB buffer pool / data size: 128.0M/20.4M
[OK] InnoDB buffer pool instances: 1
[!!] InnoDB Used buffer: 18.94% (1551 used/ 8191 total)
[OK] InnoDB Read buffer efficiency: 99.95% (2348033 hits/ 2349103 total)
[!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total)
[OK] InnoDB log waits: 0.00% (0 waits / 965 writes)

-------- ThreadPool Metrics --------------------------------------------------
[--] ThreadPool stat is disabled.

-------- AriaDB Metrics ------------------------------------------------------
[--] AriaDB is disabled.

-------- TokuDB Metrics ------------------------------------------------------
[--] TokuDB is disabled.

-------- Galera Metrics ------------------------------------------------------
[--] Galera is disabled.

-------- Replication Metrics -------------------------------------------------
[--] No replication slave(s) for this server.
[--] This is a standalone server..

-------- Recommendations -----------------------------------------------------
General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    Restrict Host for user@% to user@SpecificDNSorIp
    MySQL started within last 24 hours - recommendations may be inaccurate
    Reduce your overall MySQL memory footprint for system stability
    Enable the slow query log to troubleshoot bad queries
    Reduce or eliminate unclosed connections and network issues

oczywiście optymalizuje tabele co 12 godzin ale nie przynosi to żadnego skutku dodam że system to debian 7

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

 

 

MySQL started within last 24 hours - recommendations may be inaccurate

 

Prawdopodobnie proces mysql Ci umiera, tu trzeba logi daemona przejrzeć, a nie mysqltunera.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się

Zaloguj się, aby obserwować  

×