Skip to content

zed doesn't reap script zombies #11769

Closed
Closed
@nabijaczleweli

Description

@nabijaczleweli

System information

Type Version/Name
Distribution Name Debian
Distribution Version sid as of 2021-03-19T16:07:26+01:00
Linux Kernel 5.10.0-4-amd64
Architecture amd64
ZFS Version 2.0.3-1

Describe the problem you're observing

Consider this htop snippet

    PID USER      PRI  NI   RES   SHR S CPU% MEM%   TIME+  Command
      1 root       20   0  9676  6040 S  0.0  0.2  0:10.32 systemd --system --deserialize 21
   1941 root       20   0  3452  2704 S  0.0  0.1  0:02.19 └─ zed -F
   2138 root       20   0  3452  2704 S  0.0  0.1  0:00.06    ├─ zed -F
   2139 root       20   0  3452  2704 S  0.0  0.1  0:00.00    ├─ zed -F
  10602 root       20   0     0     0 Z  0.0  0.0  0:00.40    └─ history_event-z

And this log:

nab@d0:~/src$ journalctl -u zfs-zed -b
-- Journal begins at Thu 2020-10-01 15:24:48 CEST, ends at Fri 2021-03-19 16:08:42 CET. --
Mar 12 15:14:12 d0 systemd[1]: Started ZFS Event Daemon (zed).
Mar 12 15:14:13 d0 zed[1941]: ZFS Event Daemon 2.0.3-1 (PID 1941)
Mar 12 15:14:13 d0 zed[1941]: Processing events since eid=0
Mar 12 15:14:36 d0 zed[1941]: Missed 1 events
Mar 12 15:14:48 d0 zed[1941]: Missed 1 events
Mar 12 15:14:49 d0 zed[1941]: Missed 1 events
Mar 12 15:15:02 d0 zed[1941]: Killing hung "history_event-zfs-list-cacher.sh" pid=10602
Mar 12 15:15:02 d0 zed[1941]: Missed 1 events
Mar 12 15:15:09 d0 zed[1941]: Missed 1 events

Describe how to reproduce the problem

Enable history_event-zfs-list-cacher.sh I guess? Dunno.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ZEDZFS Event DaemonType: 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