[Bug 290207] [ZFS] lowering "vfs.zfs.arc.max" to a low value causes kernel threads of "arc_evict" to use 91% CPU and disks to wait. System gets unresponsive...

[email protected]
Newsgroups gmane.os.freebsd.devel.file-systems
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290207

Michael Zhilin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #37 from Michael Zhilin <[email protected]> ---
Hi,

I would like to confirm that spurious issue "bad file descriptor" is still
present under high load pressure for poudriere. 

Today 17 jobs has failed at same time with similar errors during
depends/stage/package phases. 

Settings: 
vfs.zfs.min_auto_ashift=12
debug.trace_on_panic=1
debug.debugger_on_panic=0
kern.panic_reboot_wait_time=0
vfs.zfs.arc_max=10737418240
kern.maxvnodes=1049226

Error message (example 1 - llvm14):

CMake Error at cmake_install.cmake:41 (file):
  file INSTALL cannot copy file
 
"/wrkdirs/usr/ports/devel/llvm14/work/llvm-project-14.0.6.src/llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h"
  to
 
"/wrkdirs/usr/ports/devel/llvm14/work/stage/usr/local/llvm14/include/llvm/Transforms/Utils/ASanStackFrameLayout.h":
  Bad file descriptor.

Error message (example 2 - rust):

Caused by:
    No such file or directory (os error 2)

Stack backtrace:
   0: <std::io::error::Error as
anyhow::context::ext::StdError>::ext_context::<alloc::string::String>
   1: cargo_util::paths::read
   2: cargo::core::compiler::fingerprint::prepare_target
   3: cargo::core::compiler::compile
   4: <cargo::core::compiler::build_runner::BuildRunner>::compile
   5: cargo::ops::cargo_compile::compile_ws
   6: cargo::ops::cargo_compile::compile_with_exec
   7: cargo::ops::cargo_compile::compile
   8: cargo::commands::build::exec
   9: <cargo::cli::Exec>::exec
  10: cargo::cli::main
  11: cargo::main
  12: std::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
  13: std::rt::lang_start::<()>::{closure#0}
  14: std::rt::lang_start_internal
  15: main
  37.497896790s  INFO prepare_target{force=false package_id=num-traits v0.2.19
target="num_traits"}: cargo::core::compiler::fingerprint: fingerprint error for
num-traits v0.2.19/Build/TargetInner { name_inferred: true, ..:
lib_target("num_traits", ["lib"],
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.92.0-src/vendor/num-traits-0.2.19/src/lib.rs",
Edition2021) }
  37.498028637s  INFO prepare_target{force=false package_id=num-traits v0.2.19
target="num_traits"}: cargo::core::compiler::fingerprint:     err: failed to
read
`/wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/bootstrap-tools/x86_64-unknown-freebsd/release/.fingerprint/num-traits-6ec82f657f26bce9/lib-num_traits`

Error message (example 3 - zrepl):

[amd64-16-my-job-17] Extracting go124-1.24.11: ..
pkg-static: Fail to chmod /src/runtime/map_faststr_noswiss.go:Bad file
descriptor

Error message (example 4 - llvm20):

CMake Error at cmake/modules/cmake_install.cmake:72 (file):
  file INSTALL cannot set modification time on
 
"/wrkdirs/usr/ports/devel/llvm20/work-default/stage/usr/local/llvm20/lib/cmake/llvm/./LLVM-Build.cmake":
  Bad file descriptor.
Call Stack (most recent call first):
  cmake_install.cmake:157 (include)

Please let me know if any other information may be useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.