Project

General

Profile

Bug #4737

dlmgtd process deadlocks.

Added by Daniel Barney over 6 years ago. Updated about 2 months ago.

Status:
New
Priority:
Urgent
Assignee:
Category:
cmd - userland programs
Start date:
2014-04-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

When performing the dlmgmt_zonehalt door command, a global write lock is held across a system call. The system call then performs a door_upcall back to the dlmgmtd process which tries to acquire a read lock.

Which results in a deadlock. But only occasionally.

I have a core dump of the dlmgmt process, but it is over 4 Mb so I can't attach it.

Attached is a set of mdv commands I ran to debug the issue.


Files

mdb.txt (17.4 KB) mdb.txt mdb commands run Daniel Barney, 2014-04-09 08:14 PM
#1

Updated by Ryan Zezeski about 2 months ago

  • Assignee set to Ryan Zezeski

I fixed various dls/mac deadlocks in illumos-joyent. Some of those bugs may very well exist in gate too (it's hard to say for sure because illumos-joyent made some modifications in this area). Assigning this to myself for now in hopes that I can give it a look.

Also available in: Atom PDF