Date: Sun, 14 Jul 2024 13:32:24 -0400 From: Garrett Wollman <wollman@bimajority.org> To: Rick Macklem <rick.macklem@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: Possible bug in zfs send or pipe implementation? Message-ID: <26260.2984.961319.782123@hergotha.csail.mit.edu> In-Reply-To: <CAM5tNy5m9-rqNTWJP5wAs9FewB6=FW9XbAe4V7qLgnrYJkSFKA@mail.gmail.com> References: <26259.12713.114036.564205@hergotha.csail.mit.edu> <CAM5tNy4pPF9mHdXM5W6gjztm4_TtFfXnOLu3cdkqvaRf3Ab5uA@mail.gmail.com> <26259.17366.276955.824313@hergotha.csail.mit.edu> <CAM5tNy5m9-rqNTWJP5wAs9FewB6=FW9XbAe4V7qLgnrYJkSFKA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 13 Jul 2024 20:50:55 -0700, Rick Macklem <rick.macklem@gmail.com> said: > Just to clarify it, are you saying zfs is sleeping on "pipewr"? > (There is also a msleep() for "pipbww" in pipe_write().) It is sleeping on pipewr, yes. [wollman@nfs-prod-11 ~]$ sysctl kern.ipc.pipekva kern.ipc.pipekva: 536576 [wollman@nfs-prod-11 ~]$ sysctl kern.ipc.maxpipekva kern.ipc.maxpipekva: 2144993280 It's not out of KVA, it's just waiting for the `pv` process to wake up and read more data. `pv` is single-threaded and blocked on "select". It doesn't always get stuck in the same place, which is why I'm suspecting a lost wakeup somewhere. -GAWollman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26260.2984.961319.782123>