Bug 256147 - zpool list -P causes high cpu load while using ufs
Summary: zpool list -P causes high cpu load while using ufs
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-fs (Nobody)
Keywords: regression
Depends on:
Reported: 2021-05-25 12:17 UTC by inoti.bukiru
Modified: 2021-06-01 05:30 UTC (History)
2 users (show)

See Also:

Screenshot: 13.0-RELEASE-p1 in VirtualBox (107.53 KB, image/png)
2021-05-30 07:31 UTC, Graham Perrin
no flags Details
zpool error (29.21 KB, image/png)
2021-06-01 05:30 UTC, inoti.bukiru
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description inoti.bukiru 2021-05-25 12:17:49 UTC
after upgrading to 13.0 with freebsd-update I get process zpool list -P that causes high cpu load. But I use ufs. When I use command manualy I get 
>_zpool list -P
No such file or directory
Comment 1 Allan Jude freebsd_committer 2021-05-28 18:20:12 UTC
This seems odd, as `zpool list -P` doesn't do anything different, without -v, there are no vdev paths printed.

Did you accidentally have an _ before the zpool command when you tried it manually?

More information is required for someone to be able to investigate this.
Comment 2 Graham Perrin 2021-05-30 07:31:38 UTC
Created attachment 225368 [details]
Screenshot: 13.0-RELEASE-p1 in VirtualBox

(In reply to inoti.bukiru from comment #0)


> No such file or directory

With a FreeBSD-provided image of 13.0-RELEASE, updated to 13.0-RELEASE-p1, I can not reproduce anything like this symptom.
Comment 3 inoti.bukiru 2021-06-01 05:26:15 UTC
(In reply to Allan Jude from comment #1)
yes, the process doesn't print -v and vdev paths. it's just loads CPU and doesn't do anything.
no, my bash has configured view the way I prefer, so _ is none of accidentally
Comment 4 inoti.bukiru 2021-06-01 05:29:21 UTC
(In reply to Graham Perrin from comment #2)
I have some FreeBSD installations and update them with freebsd-update. Only on two of them I see the problem, and I can't understand what causes it? After upgrading FreeBSD "thinks", that there is zpool configures but it is wrong
Comment 5 inoti.bukiru 2021-06-01 05:30:43 UTC
Created attachment 225436 [details]
zpool error