start ERROR:Metacache producer failed","event
{"timestamp":"2026-07-23T17:04:09.058942181+08:00","level":"ERROR","message":"Scanner bucket cache save failed","event":"scanner_cache_persist_state","component":"scanner","subsystem":"io","bucket":"tf-profiler-benchmark","cache_name
":"tf-profiler-benchmark/.usage-cache.bin","state":"save_failed","error":"Lock error: Lock acquisition timeout for resource '.rustfs.sys/buckets/tf-profiler-benchmark/.usage-cache.bin@latest' after 5s","target":"rustfs::scanner::io",
"filename":"crates/scanner/src/scanner_io.rs","line_number":1369,"threadName":"rustfs-worker","threadId":"ThreadId(114)"}
{"timestamp":"2026-07-23T17:04:09.05899336+08:00","level":"ERROR","message":"Scanner bucket cache save failed","event":"scanner_cache_persist_state","component":"scanner","subsystem":"io","bucket":"tf-profiler-benchmark","cache_name"
:"tf-profiler-benchmark/.usage-cache.bin","state":"save_failed","error":"Lock error: Lock acquisition timeout for resource '.rustfs.sys/buckets/tf-profiler-benchmark/.usage-cache.bin@latest' after 5s","target":"rustfs::scanner::io","
filename":"crates/scanner/src/scanner_io.rs","line_number":1369,"threadName":"rustfs-worker","threadId":"ThreadId(143)"}
{"timestamp":"2026-07-23T17:04:24.159410389+08:00","level":"ERROR","message":"save_config_with_opts: err: Lock(Timeout { resource: \".rustfs.sys/buckets/b001/.usage-cache.bin@latest\", timeout: 5s }), file: buckets/b001/.usage-cache.
bin","target":"rustfs_ecstore::config::com","filename":"crates/ecstore/src/config/com.rs","line_number":414,"threadName":"rustfs-worker","threadId":"ThreadId(165)"}
{"timestamp":"2026-07-23T17:04:24.159423526+08:00","level":"ERROR","message":"save_config_with_opts: err: Lock(Timeout { resource: \".rustfs.sys/buckets/b001/.usage-cache.bin@latest\", timeout: 5s }), file: buckets/b001/.usage-cache.
bin","target":"rustfs_ecstore::config::com","filename":"crates/ecstore/src/config/com.rs","line_number":414,"threadName":"rustfs-worker","threadId":"ThreadId(201)"}
{"timestamp":"2026-07-23T17:04:24.159462135+08:00","level":"ERROR","message":"Scanner bucket cache save failed","event":"scanner_cache_persist_state","component":"scanner","subsystem":"io","bucket":"b001","cache_name":"b001/.usage-ca
che.bin","state":"save_failed","error":"Lock error: Lock acquisition timeout for resource '.rustfs.sys/buckets/b001/.usage-cache.bin@latest' after 5s","target":"rustfs::scanner::io","filename":"crates/scanner/src/scanner_io.rs","line
_number":1369,"threadName":"rustfs-worker","threadId":"ThreadId(165)"}
{"timestamp":"2026-07-23T17:04:24.159477638+08:00","level":"ERROR","message":"Scanner bucket cache save failed","event":"scanner_cache_persist_state","component":"scanner","subsystem":"io","bucket":"b001","cache_name":"b001/.usage-ca
che.bin","state":"save_failed","error":"Lock error: Lock acquisition timeout for resource '.rustfs.sys/buckets/b001/.usage-cache.bin@latest' after 5s","target":"rustfs::scanner::io","filename":"crates/scanner/src/scanner_io.rs","line
_number":1369,"threadName":"rustfs-worker","threadId":"ThreadId(201)"}
{"timestamp":"2026-07-23T17:04:24.159586264+08:00","level":"ERROR","message":"save_config_with_opts: err: Lock(Timeout { resource: \".rustfs.sys/buckets/b001/.usage-cache.bin@latest\", timeout: 5s }), file: buckets/b001/.usage-cache.
bin","target":"rustfs_ecstore::config::com","filename":"crates/ecstore/src/config/com.rs","line_number":414,"threadName":"rustfs-worker","threadId":"ThreadId(186)"}
{"timestamp":"2026-07-23T17:04:24.159640226+08:00","level":"ERROR","message":"Scanner bucket cache save failed","event":"scanner_cache_persist_state","component":"scanner","subsystem":"io","bucket":"b001","cache_name":"b001/.usage-ca
che.bin","state":"save_failed","error":"Lock error: Lock acquisition timeout for resource '.rustfs.sys/buckets/b001/.usage-cache.bin@latest' after 5s","target":"rustfs::scanner::io","filename":"crates/scanner/src/scanner_io.rs","line
_number":1369,"threadName":"rustfs-worker","threadId":"ThreadId(186)"}
{"timestamp":"2026-07-23T17:04:53.285405398+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(180)"}
{"timestamp":"2026-07-23T17:04:53.285453276+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(180)"}
{"timestamp":"2026-07-23T17:04:53.285475247+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(180)"}
..... Output once every minute
{"timestamp":"2026-07-23T17:54:53.288538393+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(200)"}
{"timestamp":"2026-07-23T17:54:53.288590174+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(200)"}
{"timestamp":"2026-07-23T17:54:53.288609379+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(200)"}
{"timestamp":"2026-07-23T17:54:53.288630632+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(200)"}
{"timestamp":"2026-07-23T17:54:53.28934324+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(94)"}
{"timestamp":"2026-07-23T17:54:53.289383317+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(94)"}
{"timestamp":"2026-07-23T17:54:53.289398959+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(94)"}
{"timestamp":"2026-07-23T17:54:53.289417142+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(94)"}
{"timestamp":"2026-07-23T17:54:53.289473008+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(77)"}
{"timestamp":"2026-07-23T17:54:53.289512344+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(77)"}
{"timestamp":"2026-07-23T17:54:53.289533003+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(77)"}
{"timestamp":"2026-07-23T17:54:53.289552093+08:00","level":"ERROR","message":"Metacache producer failed","event":"metacache_listing","component":"ecstore","subsystem":"metacache","state":"producer_failed","error":"DiskOngoingReq","target":"rustfs_ecstore::cache_value::metacache_set","filename":"crates/ecstore/src/cache_value/metacache_set.rs","line_number":810,"threadName":"rustfs-worker","threadId":"ThreadId(77)"}
I checked all the disk monitoring and found that the IO has stopped being used. It's not a problem with the hardware resources. It must be an issue with rustfs itself.
Describe the bug
When I was testing the disk container with 4 rustfs nodes (12 * 7TB) for storage space.
Using the local TensorFlow to read the local directory: (144.5 G and 137891 files) and writing to rustfs. A large number of errors occurred, but all the files were uploaded successfully.
However, when I checked the rustfs log, the background kept continuously outputting ERROR logs.
To Reproduce
my test python
Expected behavior
Error logs should not be continuously output.
environment
Additional context
rustfs.log
I checked all the disk monitoring and found that the IO has stopped being used. It's not a problem with the hardware resources. It must be an issue with rustfs itself.