Hello Phil, Her is the result :
>> MySQLTuner 1.7.19 - Major Hayden <ma...@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 Please enter your MySQL administrative login: root Please enter your MySQL administrative password: [!!] Your MySQL version 5.5.64-MariaDB is EOL software! Upgrade soon! [OK] Operating on 64-bit architecture -------- Log file Recommendations ------------------------------------------------------------------ [OK] Log file /var/log/mariadb/mariadb.log exists [--] Log file: /var/log/mariadb/mariadb.log(26K) [OK] Log file /var/log/mariadb/mariadb.log is readable. [OK] Log file /var/log/mariadb/mariadb.log is not empty [OK] Log file /var/log/mariadb/mariadb.log is smaller than 32 Mb [!!] /var/log/mariadb/mariadb.log contains 1 warning(s). [OK] /var/log/mariadb/mariadb.log doesn't contain any error. [--] 18 start(s) detected in /var/log/mariadb/mariadb.log [--] 1) 200127 14:53:46 [Note] /usr/libexec/mysqld: ready for connections. [--] 2) 200127 14:31:06 [Note] /usr/libexec/mysqld: ready for connections. [--] 3) 200127 13:42:01 [Note] /usr/libexec/mysqld: ready for connections. [--] 4) 200123 10:30:09 [Note] /usr/libexec/mysqld: ready for connections. [--] 5) 200123 9:30:38 [Note] /usr/libexec/mysqld: ready for connections. [--] 6) 200122 13:40:50 [Note] /usr/libexec/mysqld: ready for connections. [--] 7) 200122 11:25:59 [Note] /usr/libexec/mysqld: ready for connections. [--] 8) 200121 20:22:27 [Note] /usr/libexec/mysqld: ready for connections. [--] 9) 200121 18:11:25 [Note] /usr/libexec/mysqld: ready for connections. [--] 10) 200121 8:59:06 [Note] /usr/libexec/mysqld: ready for connections. [--] 13 shutdown(s) detected in /var/log/mariadb/mariadb.log [--] 1) 200127 14:53:14 [Note] /usr/libexec/mysqld: Shutdown complete [--] 2) 200127 14:30:34 [Note] /usr/libexec/mysqld: Shutdown complete [--] 3) 200122 11:25:23 [Note] /usr/libexec/mysqld: Shutdown complete [--] 4) 200121 20:21:55 [Note] /usr/libexec/mysqld: Shutdown complete [--] 5) 200121 18:10:56 [Note] /usr/libexec/mysqld: Shutdown complete [--] 6) 200121 8:58:36 [Note] /usr/libexec/mysqld: Shutdown complete [--] 7) 200117 15:17:29 [Note] /usr/libexec/mysqld: Shutdown complete [--] 8) 200117 13:32:59 [Note] /usr/libexec/mysqld: Shutdown complete [--] 9) 200117 11:08:05 [Note] /usr/libexec/mysqld: Shutdown complete [--] 10) 200116 14:37:52 [Note] /usr/libexec/mysqld: Shutdown complete -------- Storage Engine Statistics ----------------------------------------------------------------- [--] Status: +ARCHIVE +Aria +BLACKHOLE +CSV +FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA [--] Data in MyISAM tables: 1.0K (Tables: 1) [--] Data in InnoDB tables: 1.6M (Tables: 41) [OK] Total fragmented tables: 0 -------- Analysis Performance Metrics -------------------------------------------------------------- [--] innodb_stats_on_metadata: ON [!!] Stat are updated during querying INFORMATION_SCHEMA. -------- Security Recommendations ------------------------------------------------------------------ [OK] There are no anonymous accounts for any database users [OK] All database users have passwords assigned [!!] There is no basic password file list! -------- CVE Security Recommendations -------------------------------------------------------------- [--] Skipped due to --cvefile option undefined -------- Performance Metrics ----------------------------------------------------------------------- [--] Up for: 37m 48s (54 q [0.024 qps], 10 conn, TX: 50K, RX: 6K) [--] Reads / Writes: 73% / 27% [--] Binary logging is disabled [--] Physical Memory : 28.6G [--] Max MySQL memory : 987.0M [--] Other process memory: 0B [--] Total buffers: 416.0M global + 3.8M per thread (151 max threads) [--] P_S Max memory usage: 0B [--] Galera GCache Max memory usage: 0B [OK] Maximum reached memory usage: 419.8M (1.43% of installed RAM) [OK] Maximum possible memory usage: 987.0M (3.37% of installed RAM) [OK] Overall possible memory usage with other process is compatible with memory available [OK] Slow queries: 0% (0/54) [OK] Highest usage of available connections: 0% (1/151) [!!] Aborted connections: 20.00% (2/10) [!!] 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 / 30 selects) [OK] Query cache prunes per day: 0 [OK] No Sort requiring temporary tables [OK] No joins without indexes [OK] Temporary tables created on disk: 0% (0 on disk / 5 total) [!!] Thread cache is disabled [OK] Table cache hit rate: 471% (33 open / 7 opened) [OK] table_definition_cache(400) is upper than number of tables(145) [OK] Open file limit used: 2% (21/962) [OK] Table locks acquired immediately: 100% (71 immediate / 71 locks) -------- Performance schema ------------------------------------------------------------------------ [--] Performance schema is disabled. [--] Memory used by P_S: 0B [--] Sys schema isn't installed. -------- ThreadPool Metrics ------------------------------------------------------------------------ [--] ThreadPool stat is enabled. [--] Thread Pool Size: 12 thread(s). [--] Using default value is good enough for your version (5.5.64-MariaDB) -------- MyISAM Metrics ---------------------------------------------------------------------------- [!!] Key buffer used: 18.2% (24M used / 134M cache) [OK] Key buffer size / total MyISAM indexes: 128.0M/100.0K -------- InnoDB Metrics ---------------------------------------------------------------------------- [--] InnoDB is enabled. [--] InnoDB Thread Concurrency: 0 [!!] InnoDB File per table is not activated [OK] InnoDB buffer pool / data size: 128.0M/1.6M [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (7.8125 %): 5.0M * 2/128.0M should be equal to 25% [OK] InnoDB buffer pool instances: 1 [--] InnoDB Buffer Pool Chunk Size not used or defined in your version [OK] InnoDB Read buffer efficiency: 92.15% (4863 hits/ 5277 total) [!!] InnoDB Write Log efficiency: 100% (5 hits/ 5 total) [OK] InnoDB log waits: 0.00% (0 waits / 10 writes) -------- AriaDB Metrics ---------------------------------------------------------------------------- [--] AriaDB is enabled. [OK] Aria pagecache size / total Aria indexes: 128.0M/1B -------- TokuDB Metrics ---------------------------------------------------------------------------- [--] TokuDB is disabled. -------- XtraDB Metrics ---------------------------------------------------------------------------- [--] XtraDB is disabled. -------- Galera Metrics ---------------------------------------------------------------------------- [--] Galera is disabled. -------- Replication Metrics ----------------------------------------------------------------------- [--] Galera Synchronous replication: NO [--] No replication slave(s) for this server. [--] Binlog format: STATEMENT [--] XA support enabled: ON [--] Semi synchronous replication Master: Not Activated [--] Semi synchronous replication Slave: Not Activated [--] This is a standalone server -------- Recommendations --------------------------------------------------------------------------- General recommendations: Control warning line(s) into /var/log/mariadb/mariadb.log file MySQL was started within the last 24 hours - recommendations may be inaccurate Enable the slow query log to troubleshoot bad queries Reduce or eliminate unclosed connections and network issues Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1 Set thread_cache_size to 4 as a starting value For MySQL 5.6.2 and lower, Max combined innodb_log_file_size should have a ceiling of (4096MB / log files in group) - 1MB. Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2TcGgtU Variables to adjust: SET innodb_stats_on_metadata = OFF query_cache_size (=0) query_cache_type (=0) query_cache_limit (> 1M, or use smaller result sets) thread_cache_size (start at 4) innodb_file_per_table=ON innodb_log_file_size should be (=16M) if possible, so InnoDB total log files size equals to 25% of buffer pool size. [root@localhost ~]# Jean Mark Orfali • Sys admin T. 1-877-258-4542 P. 227 bravad.ca/Fabrique Avis de confidentialité Le contenu de ce message ainsi que du ou des fichiers qui y sont joints est strictement confidentiel et destiné exclusivement à son ou sa destinataire. Si vous n’êtes pas cette personne, nous attirons votre attention sur le fait qu’il est strictement interdit de copier, de faire suivre ou d’utiliser les informations contenues dans ce courriel. Si vous l’avez reçu par erreur, nous vous remercions de nous le faire savoir. -----Message d'origine----- De : Phil Stracchino <ph...@caerllewys.net> Envoyé : Monday, 27 January, 2020 2:31 PM À : Jean Mark Orfali <jmorf...@bravad.ca>; bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] Bacula and memory usage On 2020-01-27 14:11, Jean Mark Orfali wrote: > Hello, > > Thank you for your reply. Here is the missing information. My Bacula server > and the four clients are on Linux Centos 7 servers. I use Webmin version > 1.941 to access bacula. The bacula version is 7.0.5. The SQL server is a > MariaDB version 5.5.64. The server has 30TB of hard drive and 30GB of memory. > Backups are saved in a directory directly on the backup server. No backup is > kept on clients side. At the moment there is 6 TB of data to backup. On each > of the 4 clients I have an incremental backup task schedule every day at 11 > p.m. Right now I have 4 backups running for 5 days and 14 waiting. Jean, How is that MariaDB instance configured? As a quick-and-dirty first approximation, what does mysqltuner tell you? -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users