OS-5957: Hang induced by netatalk application

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2017-02-11T17:23:55.000Z
Updated at:2017-11-03T23:14:50.635Z

People

Created by:Brian Bennett [X]
Reported by:Brian Bennett
Assigned to:Patrick Mooney [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2017-03-17T19:47:09.000Z)

Fix Versions

2017-03-30 MOROCCAN MINIMAL (Release Date: 2017-03-30)

Related Links

Description

Reported as illumos-joynet#137

The reporter has supplied 3 crash dumps that I've put into thoth.

Comments

Comment by Patrick Mooney [X]
Created at 2017-03-13T22:45:09.000Z

I think this should be tackled on two fronts. First and foremost tl_open should switch to using id_alloc_nosleep in order to fail gracefully when the id space is exhausted. This will prevent threads from becoming uninterruptibly blocked, should the limit of tl streams be reached.

Further in the future, we should evaluate possibilities for splitting the tl minor space across more granular units. Perhaps per-zone or per-netstack scoping for tl minor numbers might be acceptable? Further research is required to understand the possible effects of emitting minor numbers which are used by multiple socket instances.


Comment by Bot Bot [X]
Created at 2017-03-17T17:24:14.000Z

illumos-joyent commit 796578e (branch master, by Patrick Mooney)

OS-5957 Hang induced by netatalk application
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zeseski@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>