Skip to content

High CPU and severe slowdown on FreeBSD 14.4 / OpenZFS 2.2.9 with lower vfs.zfs.arc.max #18397

@CyberCr33p

Description

@CyberCr33p

System information

Type Version/Name
Distribution Name FreeBSD
Distribution Version 14.4
Architecture amd64
OpenZFS Version 2.2.9

Describe the problem you're observing

On a FreeBSD server upgraded to 14.4 with OpenZFS 2.2.9, setting vfs.zfs.arc.max="34359738368" eventually leads to severe system slowdown. Processes begin using 100% CPU, and even basic operations such as removing log files from /var/log/nginx/ become extremely slow.

As soon as I raise vfs.zfs.arc.max to 68719476736, CPU usage returns to normal immediately and overall responsiveness is restored.

I did not observe this behavior on FreeBSD 14.3 with OpenZFS 2.2.7.

Is this a known issue, and are there any references, reports, or discussions about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions