Project

General

Profile

Bug #24035

zdb process hanging up GUI

Added by Shawn Cox over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Critical
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
TrueNAS - TrueNAS-9.10.2
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When running volume manager or volume status from the GUI, multiple zdb processes are created and hangs up the system.

This system for reference is a new TrueNAS with 2.5~PB of storage.

Associated revisions

Revision aacfa7d8 (diff)
Added by Alexander Motin over 3 years ago

Fix time handling in cv_timedwait_hires(). pthread_cond_timedwait() receives absolute time, not relative. Passing wrong time there caused two threads of zdb to spin in a tight loop. (cherry picked from commit a2dbb0a726079b762214c47924c38ef2c07478a8) Ticket: #24035

Revision aacfa7d8 (diff)
Added by Alexander Motin over 3 years ago

Fix time handling in cv_timedwait_hires(). pthread_cond_timedwait() receives absolute time, not relative. Passing wrong time there caused two threads of zdb to spin in a tight loop. (cherry picked from commit a2dbb0a726079b762214c47924c38ef2c07478a8) Ticket: #24035

Revision f4b711d1 (diff)
Added by Alexander Motin over 3 years ago

Fix time handling in cv_timedwait_hires(). pthread_cond_timedwait() receives absolute time, not relative. Passing wrong time there caused two threads of zdb to spin in a tight loop. (cherry picked from commit a2dbb0a726079b762214c47924c38ef2c07478a8) Ticket: #24035 (cherry picked from commit aacfa7d8b1be05208fde59746f3ba41489c9dae8)

Revision f4b711d1 (diff)
Added by Alexander Motin over 3 years ago

Fix time handling in cv_timedwait_hires(). pthread_cond_timedwait() receives absolute time, not relative. Passing wrong time there caused two threads of zdb to spin in a tight loop. (cherry picked from commit a2dbb0a726079b762214c47924c38ef2c07478a8) Ticket: #24035 (cherry picked from commit aacfa7d8b1be05208fde59746f3ba41489c9dae8)

History

#1 Updated by William Grzybowski over 3 years ago

  • Project changed from TrueNAS to FreeNAS
  • Category changed from 14 to 201
  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Expected
  • Target version set to 11.0
  • Private changed from No to Yes

#2 Updated by William Grzybowski over 3 years ago

#3 Updated by William Grzybowski over 3 years ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from William Grzybowski to Brandon Schneider

#4 Updated by Brandon Schneider over 3 years ago

  • Status changed from Needs Developer Review to Reviewed
  • Assignee changed from Brandon Schneider to William Grzybowski

LGTM

#5 Updated by Ash Gokhale over 3 years ago

This is a much worse issue due to zdb never completing when run on this file system.

#6 Updated by Shawn Cox over 3 years ago

  • Project changed from FreeNAS to TrueNAS
  • Category deleted (201)
  • Assignee changed from William Grzybowski to Brandon Schneider
  • Target version changed from 11.0 to 11.0
  • Fence Lizard set to No

#7 Updated by Shawn Cox over 3 years ago

  • Support Suite Ticket set to JSD-620-34467

#8 Updated by William Grzybowski over 3 years ago

  • Project changed from TrueNAS to FreeNAS
  • Category set to 201
  • Assignee changed from Brandon Schneider to William Grzybowski
  • Priority changed from Expected to Critical
  • Target version changed from 11.0 to 11.0

#9 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Reviewed to Merged

#10 Updated by Vaibhav Chauhan over 3 years ago

  • Target version changed from 11.0 to 11.0-RC3

#11 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Merged to Resolved

#12 Updated by Dru Lavigne about 3 years ago

  • Private changed from Yes to No

Also available in: Atom PDF