Nikolaus Rath
2022-May-01 16:35 UTC
[Libguestfs] nbdkit error: "write reply: NBD_CMD_WRITE: Broken pipe"
Hi, I am developing a new nbdkit plugin, and occasionally I am getting errors like this: `nbdkit: s3backer.8: error: write reply: NBD_CMD_WRITE: Broken pipe nbdkit: s3backer.15: error: write reply: NBD_CMD_WRITE: Broken pipe` (where "s3backer" is the plugin name). I am not sure what to make of these. Can someone advise? Looking at the nbdkit source, it looks to me like these are generated when there is a problem sending a reply to the nbd client. On the other hand, I am using the standard 'nbd-client' program through a Unix socket, so I'd think this should not result in errors...? Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F ?Time flies like an arrow, fruit flies like a Banana.? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220501/257082ce/attachment.htm>
Laszlo Ersek
2022-May-02 08:04 UTC
[Libguestfs] nbdkit error: "write reply: NBD_CMD_WRITE: Broken pipe"
On 05/01/22 18:35, Nikolaus Rath wrote:> Hi, > > I am developing a new nbdkit plugin, and occasionally I am getting > errors like this: > > |nbdkit: s3backer.8: error: write reply: NBD_CMD_WRITE: Broken pipe > nbdkit: s3backer.15: error: write reply: NBD_CMD_WRITE: Broken pipe| > > > (where "s3backer" is the plugin name). > > I am not sure what to make of these. Can someone advise? > > Looking at the nbdkit source, it looks to me like these are generated > when there is a problem sending a reply to the nbd client. On the other > hand, I am using the standard 'nbd-client' program through a Unix > socket, so I'd think this should not result in errors...?If your plugin managed to crash nbd-client remotely, that would be consistent with this symptom. Laszlo> > Best, > -Nikolaus > -- > GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > ???????????? ?Time flies like an arrow, fruit flies like a Banana.? > > > > > _______________________________________________ > Libguestfs mailing list > Libguestfs at redhat.com > https://listman.redhat.com/mailman/listinfo/libguestfs >