Hello Phil, I restarted the backups last night and automatically the memory increased to 96% of use. 28.33GIB. Here are the results for mysqltuner and top.
[!!] 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.7M (Tables: 41) [OK] Total fragmented tables: 0 -------- Analysis Performance Metrics -------------------------------------------------------------- [--] innodb_stats_on_metadata: OFF [OK] No stat updates 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: 17h 30m 18s (109K q [1.735 qps], 53 conn, TX: 19M, RX: 639M) [--] Reads / Writes: 5% / 95% [--] 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: 438.7M (1.50% 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% (1K/109K) [OK] Highest usage of available connections: 3% (6/151) [!!] Aborted connections: 5.66% (3/53) [!!] 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 / 32 sorts) [OK] No joins without indexes [OK] Temporary tables created on disk: 9% (3 on disk / 31 total) [!!] Thread cache is disabled [OK] Table cache hit rate: 143% (83 open / 58 opened) [OK] table_definition_cache(400) is upper than number of tables(145) [OK] Open file limit used: 5% (53/962) [OK] Table locks acquired immediately: 100% (109K immediate / 109K 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 [!!] Read Key buffer hit rate: 80.0% (5 cached / 1 reads) -------- 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.7M [!!] 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: 99.99% (11324830 hits/ 11325897 total) [OK] InnoDB Write log efficiency: 94.18% (1677177 hits/ 1780786 total) [OK] InnoDB log waits: 0.00% (0 waits / 103609 writes) -------- AriaDB Metrics ---------------------------------------------------------------------------- [--] AriaDB is enabled. [OK] Aria pagecache size / total Aria indexes: 128.0M/1B [OK] Aria pagecache hit rate: 99.7% (916 cached / 3 reads) -------- 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: 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 ~]# =================================================================== top - 08:26:22 up 17:32, 2 users, load average: 5.43, 5.28, 5.53 Tasks: 219 total, 1 running, 209 sleeping, 0 stopped, 9 zombie %Cpu(s): 0.1 us, 0.2 sy, 0.0 ni, 52.9 id, 46.5 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem : 29987532 total, 220092 free, 697356 used, 29070084 buff/cache KiB Swap: 15138812 total, 15138812 free, 0 used. 28880936 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2093 bacula 20 0 763968 6688 3100 S 15.6 0.0 23:33.51 bacula-sd 6 root 20 0 0 0 0 S 2.3 0.0 3:10.41 ksoftirqd/0 93 root 20 0 0 0 0 S 0.3 0.0 0:16.80 kswapd0 2088 bacula 20 0 1070748 9480 3820 S 0.3 0.0 2:39.34 bacula-dir 3832 root 20 0 125592 30992 2820 S 0.3 0.1 0:58.26 /usr/libexec/we 9484 root 20 0 0 0 0 S 0.3 0.0 0:00.53 kworker/0:0 9643 root 20 0 162036 2332 1524 R 0.3 0.0 0:00.02 top 1 root 20 0 191156 4096 2512 S 0.0 0.0 0:06.48 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.06 kthreadd 4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 7 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 9 root 20 0 0 0 0 S 0.0 0.0 0:13.28 rcu_sched 10 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 lru-add-drain 11 root rt 0 0 0 0 S 0.0 0.0 0:00.57 watchdog/0 12 root rt 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/1 13 root rt 0 0 0 0 S 0.0 0.0 0:00.04 migration/1 14 root 20 0 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd/1 16 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H 17 root rt 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/2 18 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/2 19 root 20 0 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/2 21 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/2:0H 22 root rt 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/3 23 root rt 0 0 0 0 S 0.0 0.0 0:00.04 migration/3 24 root 20 0 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/3 26 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/3:0H 27 root rt 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/4 28 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/4 29 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/4 31 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/4:0H 32 root rt 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/5 33 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/5 34 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/5 36 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/5:0H 37 root rt 0 0 0 0 S 0.0 0.0 0:00.31 watchdog/6 38 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/6 39 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/6 41 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/6:0H 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 8:09 PM À : Jean Mark Orfali <jmorf...@bravad.ca>; bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] Bacula and memory usage On 2020-01-27 19:39, Jean Mark Orfali wrote: > Sorry, I meant to say: I had to reboot the server. > Her is the result of top: So having rebooted the server, there is CURRENTLY nothing to see. You can't diagnose a problem when it isn't there. If your backup jobs stall again, please try to report what is happening on the system when the jobs are actually stalled. We need to be able to see what is going wrong to be able to help you diagnose the problem. -- 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