[sysadmin-bin] Increase limit of open files
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Increase limit of open files
- Date: Fri, 31 Jul 2020 10:40:35 +0000 (UTC)
commit 57245626f3dbcda36da1736893c6175b79d1ff44
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Jul 31 12:40:29 2020 +0200
Increase limit of open files
mysqlbackup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mysqlbackup b/mysqlbackup
index feb233b..ee02c48 100755
--- a/mysqlbackup
+++ b/mysqlbackup
@@ -3,7 +3,7 @@
set -e
DESTDIR=/mnt/galera-backups
-mariabackup="scl enable rh-mariadb102 -- mariabackup --user=root --backup --stream=xbstream"
+mariabackup="scl enable rh-mariadb102 -- mariabackup --user=root --backup --stream=xbstream
--open-files-limit=20480"
mysql -N -e 'show databases' | while read -r dbname; do
ionice -c2 -n7 $mariabackup --databases="$dbname" | zstd -T6 -11 - >
"$DESTDIR/${dbname}.xbstream.zst.tmp"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]