Bug 228399 - vnlru uses 100% cpu
Summary: vnlru uses 100% cpu
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2018-05-21 15:47 UTC by avkarenow
Modified: 2020-05-21 22:00 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description avkarenow 2018-05-21 15:47:37 UTC

I'm using FreeBSD 11.1-RELEASE with ZFS.

From periodic `find` is running every night and it causes a problem with vnlru - ~100% CPU usage. `Find` finishing its work about a few hours later (before upgrade, on FreeBSD 10.3 it was a few minutes and minimal usage of CPU).

When I run `find` at day manually - it also using 100% CPU by vnlru.

The "solution" is bump kern.maxvnodes value and vnlru CPU usage is about 0% for few minutes and again I need to bump kern.maxvnodes until `find` finish its job.

Any ideas?

Best Regards