[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] NBD server terminates on SIGPIPE during negotiation



On 6 Feb 2013, at 21:38, Wouter Verhelst wrote:

> This situation is of course different if the server is not using a
> fork-per-client paradigm; but since that's what we're doing, I fail to
> see any benefit in ignoring SIGPIPE, while there is some benefit to be
> had in not ignoring it.

OK - so this is assuming you fork prior to the negotiation?

In which case no objections here assuming we never do any activity
on any /other/ fd which is likely to cause a SIGPIPE. If you kill
syslogd, does logging stuff to syslog ever cause a SIGPIPE for instance?
It would be bad if failure to log something caused a disk to drop off.

-- 
Alex Bligh







Reply to: