Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [--] Skipped version check for MySQLTuner script
- [OK] Logged in using credentials from debian maintenance account.
- [OK] Currently running supported MySQL version 5.7.29-0ubuntu0.18.04.1
- [OK] Operating on 64-bit architecture
- -------- Log file Recommendations ------------------------------------------------------------------
- [--] Log file: /var/log/mysql/error.log(16K)
- [OK] Log file /var/log/mysql/error.log exists
- [OK] Log file /var/log/mysql/error.log is readable.
- [OK] Log file /var/log/mysql/error.log is not empty
- [OK] Log file /var/log/mysql/error.log is smaller than 32 Mb
- [!!] /var/log/mysql/error.log contains 3 warning(s).
- [OK] /var/log/mysql/error.log doesn't contain any error.
- [--] 1 start(s) detected in /var/log/mysql/error.log
- [--] 1) 2020-05-02T07:45:28.563284Z 0 [Note] /usr/sbin/mysqld: ready for connections.
- [--] 0 shutdown(s) detected in /var/log/mysql/error.log
- -------- Storage Engine Statistics -----------------------------------------------------------------
- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
- [--] Data in ARCHIVE tables: 230K (Tables: 11)
- [--] Data in MyISAM tables: 8K (Tables: 2)
- [--] Data in InnoDB tables: 87M (Tables: 196)
- [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 are 612 basic passwords in the list.
- -------- CVE Security Recommendations --------------------------------------------------------------
- [OK] NO SECURITY CVE FOUND FOR YOUR VERSION
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 6m 30s (6K q [16.449 qps], 33 conn, TX: 1M, RX: 1M)
- [--] Reads / Writes: 98% / 2%
- [--] Binary logging is disabled
- [--] Physical Memory : 985.2M
- [--] Max MySQL memory : 766.3M
- [--] Other process memory: 38.2M
- [--] Total buffers: 660.0M global + 1.1M per thread (100 max threads)
- [--] P_S Max memory usage: 72B
- [--] Galera GCache Max memory usage: 0B
- [OK] Maximum reached memory usage: 671.7M (68.18% of installed RAM)
- [OK] Maximum possible memory usage: 766.3M (77.78% of installed RAM)
- [OK] Overall possible memory usage with other process is compatible with memory available
- [OK] Slow queries: 0% (0/6K)
- [OK] Highest usage of available connections: 11% (11/100)
- [OK] Aborted connections: 0.00% (0/33)
- [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
- [!!] Query cache may be disabled by default due to mutex contention.
- [!!] Query cache efficiency: 0.0% (0 cached / 6K selects)
- [OK] Query cache prunes per day: 0
- [OK] Sorts requiring temporary tables: 0% (0 temp sorts / 48 sorts)
- [OK] No joins without indexes
- [OK] Temporary tables created on disk: 0% (0 on disk / 957 total)
- [OK] Thread cache hit rate: 66% (11 created / 33 connections)
- [OK] Table cache hit rate: 97% (300 open / 307 opened)
- [OK] Open file limit used: 0% (14/5K)
- [OK] Table locks acquired immediately: 100% (103 immediate / 103 locks)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Memory used by P_S: 72B
- [--] Sys schema is installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is disabled.
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 18.3% (3M used / 16M cache)
- [OK] Key buffer size / total MyISAM indexes: 16.0M/51.0K
- [!!] Read Key buffer hit rate: 50.0% (6 cached / 3 reads)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 8
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 128.0M/87.5M
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (12.5 %): 8.0M * 2/128.0M should be equal 25%
- [OK] InnoDB buffer pool instances: 1
- [--] Number of InnoDB Buffer Pool Chunk : 1 for 1 Buffer Pool Instance(s)
- [OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
- [OK] InnoDB Read buffer efficiency: 97.35% (26606 hits/ 27329 total)
- [!!] InnoDB Write Log efficiency: 65.68% (155 hits/ 236 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 81 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:
- Control warning line(s) into /var/log/mysql/error.log file
- 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
- Variables to adjust:
- query_cache_size (=0)
- query_cache_type (=0)
- query_cache_limit (> 2M, or use smaller result sets)
- innodb_log_file_size * innodb_log_files_in_group should be equal to 1/4 of buffer pool size (=64M) if possible.
- ----------------------------------> TOP
- Tasks: 99 total, 9 running, 49 sleeping, 0 stopped, 0 zombie
- %Cpu(s): 99.3 us, 0.7 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
- KiB Mem : 1008848 total, 108832 free, 736244 used, 163772 buff/cache
- KiB Swap: 0 total, 0 free, 0 used. 96380 avail Mem
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 11793 www-data 20 0 591888 101708 21552 R 12.6 10.1 1:30.76 /usr/sbin/apache2 -k start
- 12042 www-data 20 0 547104 71044 36108 R 12.6 7.0 1:12.34 /usr/sbin/apache2 -k start
- 12131 www-data 20 0 544772 55332 21272 R 12.6 5.5 0:58.75 /usr/sbin/apache2 -k start
- 12132 www-data 20 0 544768 54636 21228 R 12.6 5.4 0:53.21 /usr/sbin/apache2 -k start
- 12136 www-data 20 0 544768 53440 21100 R 12.6 5.3 0:40.43 /usr/sbin/apache2 -k start
- 12137 www-data 20 0 538916 64004 35980 R 12.6 6.3 0:15.99 /usr/sbin/apache2 -k start
- 12049 www-data 20 0 559124 68204 20432 R 12.3 6.8 1:00.66 /usr/sbin/apache2 -k start
- 12130 www-data 20 0 546648 55304 21272 R 12.3 5.5 1:00.38 /usr/sbin/apache2 -k start
- 11808 root 20 0 108324 1380 0 S 0.3 0.1 0:00.08 sshd: root@pts/0
- 14975 root 20 0 42276 3776 3168 R 0.3 0.4 0:00.04 top
- 1 root 20 0 225492 2820 328 S 0.0 0.3 0:02.55 /sbin/init
- 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kthreadd]
- 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [kworker/0:0H]
- 6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [mm_percpu_wq]
- 7 root 20 0 0 0 0 S 0.0 0.0 0:01.06 [ksoftirqd/0]
- 8 root 20 0 0 0 0 I 0.0 0.0 0:03.70 [rcu_sched]
- 9 root 20 0 0 0 0 I 0.0 0.0 0:00.00 [rcu_bh]
- 10 root rt 0 0 0 0 S 0.0 0.0 0:00.00 [migration/0]
- 11 root rt 0 0 0 0 S 0.0 0.0 0:00.31 [watchdog/0]
- 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [cpuhp/0]
- 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kdevtmpfs]
- 14 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [netns]
- 15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [rcu_tasks_kthre]
- 16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kauditd]
- 17 root 20 0 0 0 0 S 0.0 0.0 0:00.03 [khungtaskd]
- 18 root 20 0 0 0 0 S 0.0 0.0 0:00.01 [oom_reaper]
- 19 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [writeback]
- 20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [kcompactd0]
- 21 root 25 5 0 0 0 S 0.0 0.0 0:00.00 [ksmd]
- 22 root 39 19 0 0 0 S 0.0 0.0 0:00.00 [khugepaged]
- 23 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [crypto]
- 24 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [kintegrityd]
- 25 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [kblockd]
- 26 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [ata_sff]
- 27 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [md]
- 28 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [edac-poller]
- 29 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [devfreq_wq]
- 30 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [watchdogd]
- 34 root 20 0 0 0 0 S 0.0 0.0 7:22.13 [kswapd0]
- 35 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [kworker/u3:0]
- 36 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [ecryptfs-kthrea]
- 78 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [kthrotld]
- 79 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [acpi_thermal_pm]
- 80 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_0]
- 81 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [scsi_tmf_0]
- 82 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_1]
- 83 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [scsi_tmf_1]
- 89 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [ipv6_addrconf]
- 98 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [kstrp]
- 115 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [charger_manager]
- 164 root 20 0 0 0 0 S 0.0 0.0 0:00.00 [scsi_eh_2]
- 165 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [scsi_tmf_2]
- 276 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 [raid5wq]
- -------------------------> ulimit -a
- core file size (blocks, -c) 0
- data seg size (kbytes, -d) unlimited
- scheduling priority (-e) 0
- file size (blocks, -f) unlimited
- pending signals (-i) 3838
- max locked memory (kbytes, -l) 16384
- max memory size (kbytes, -m) unlimited
- open files (-n) 1024
- pipe size (512 bytes, -p) 8
- POSIX message queues (bytes, -q) 819200
- real-time priority (-r) 0
- stack size (kbytes, -s) 8192
- cpu time (seconds, -t) unlimited
- max user processes (-u) 3838
- virtual memory (kbytes, -v) unlimited
- file locks (-x) unlimited
- -------------------------> iostat
- Linux 4.15.0-99-generic (ubuntu-s-1vcpu-1gb-fra1-01) 05/02/20 _x86_64_ (1 CPU)
- avg-cpu: %user %nice %system %iowait %steal %idle
- 79.84 0.01 1.52 0.05 0.01 18.57
- Device r/s w/s rMB/s wMB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
- loop0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00
- vda 124.07 2.93 3.12 0.12 0.08 0.81 0.06 21.56 0.63 3.62 0.08 25.76 41.97 0.07 0.89
- avg-cpu: %user %nice %system %iowait %steal %idle
- 97.61 0.00 2.39 0.00 0.00 0.00
- Device r/s w/s rMB/s wMB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
- loop0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
- vda 376.69 11.55 1.50 0.20 0.00 5.78 0.00 33.33 0.49 2.76 0.18 4.08 17.86 0.03 1.04
- avg-cpu: %user %nice %system %iowait %steal %idle
- 99.00 0.00 1.00 0.00 0.00 0.00
- Device r/s w/s rMB/s wMB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
- loop0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
- vda 0.00 4.81 0.00 0.09 0.00 1.40 0.00 22.58 0.00 0.83 0.00 0.00 18.50 0.00 0.00
Add Comment
Please, Sign In to add comment