From: "Libor Klepáč" <libor.klepac@bcom.cz>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Btrfs lockups on ubuntu with bees
Date: Fri, 26 Nov 2021 14:36:30 +0000 [thread overview]
Message-ID: <c9f1640177563f545ef70eb6ec1560faa1bb1bd7.camel@bcom.cz> (raw)
Hi,
we are trying to use btrfs with compression and deduplication using
bees to host filesystem for nakivo repository.
Nakivo repository is in "incremental with full backups" format - ie.
one file per VM snapshot transferred from vmware, full backup every x
days, no internal deduplication.
We have also disabled internal compression in nakivo repository and put
compression-force=zstd:13 on filesystem.
It's a VM on vmware 6.7.0 Update 3 (Build 17700523) on Dell R540.
It has 6vCPU, 16GB of ram.
Bees is run with this parameters
OPTIONS="--strip-paths --no-timestamps --verbose 5 --loadavg-target 5
--thread-min 1"
DB_SIZE=$((8*1024*1024*1024)) # 8G in bytes
Until today it was running ubuntu provided kernel 5.11.0-40.44~20.04.2
(not sure about exact upstream version),
today we switched to 5.13.0-21.21~20.04.1 after first crash.
It was working ok for 7+days, all data were in (around 10TB), so i
started bees.
It now locks the FS, bees runs on 100% CPU, i cannot enter directory
with btrfs
# btrfs filesystem usage /mnt/btrfs/repo02/
Overall:
Device size: 20.00TiB
Device allocated: 10.88TiB
Device unallocated: 9.12TiB
Device missing: 0.00B
Used: 10.87TiB
Free (estimated): 9.13TiB (min: 4.57TiB)
Data ratio: 1.00
Metadata ratio: 1.00
Global reserve: 512.00MiB (used: 0.00B)
Data,single: Size:10.85TiB, Used:10.83TiB (99.91%)
/dev/sdd 10.85TiB
Metadata,single: Size:35.00GiB, Used:34.71GiB (99.17%)
/dev/sdd 35.00GiB
System,DUP: Size:32.00MiB, Used:1.14MiB (3.56%)
/dev/sdd 64.00MiB
Unallocated:
/dev/sdd 9.12TiB
This happened yesterday on kernel 5.11
https://download.bcom.cz/btrfs/trace1.txt
This is today, on 5.13
https://download.bcom.cz/btrfs/trace2.txt
this is trace from sysrq later, when i noticed it happened again
https://download.bcom.cz/btrfs/trace3.txt
Any clue what can be done?
We would really like to use btrfs for this use case, because nakivo,
with this type of repository format, needs to be se to do full backup
every x days and does not do deduplication on its own.
With regards,
Libor
next reply other threads:[~2021-11-26 14:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-26 14:36 Libor Klepáč [this message]
2021-12-09 4:44 ` Btrfs lockups on ubuntu with bees Zygo Blaxell
2021-12-09 9:23 ` Libor Klepáč
2021-12-13 22:51 ` Zygo Blaxell
2021-12-15 9:42 ` Libor Klepáč
2021-12-15 9:48 ` Nikolay Borisov
2021-12-23 9:54 ` Libor Klepáč
2021-12-24 11:40 ` Libor Klepáč
2021-12-24 11:49 ` Libor Klepáč
2021-12-31 19:17 ` Zygo Blaxell
2021-12-31 19:24 ` Zygo Blaxell
2022-01-03 10:47 ` Libor Klepáč
2022-01-04 3:09 ` Zygo Blaxell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c9f1640177563f545ef70eb6ec1560faa1bb1bd7.camel@bcom.cz \
--to=libor.klepac@bcom.cz \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox