Project

General

Profile

Bug #35074

Watch middleware parent process on workers

Added by William Grzybowski over 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Severity:
Med High
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

It seems dangling workers will prevent main process to restart.

Associated revisions

Revision b7165664 (diff)
Added by William Grzybowski over 2 years ago

fix(middlewared): watch parent process on workers Ticket: #35074

Revision 87f41efe (diff)
Added by William Grzybowski over 2 years ago

fix(middlewared): watch parent process on workers Ticket: #35074

Revision 3802d728 (diff)
Added by William Grzybowski over 2 years ago

fix(middlewared): watch parent process on workers Ticket: #35074

Revision a898863b (diff)
Added by William Grzybowski over 2 years ago

fix(middlewared/worker): handle ProcessLookupError Ticket: #35074

Revision 9d3fc17d (diff)
Added by William Grzybowski over 2 years ago

fix(middlewared): watch parent process on workers Ticket: #35074

Revision 5c68c696 (diff)
Added by William Grzybowski over 2 years ago

fix(middlewared/worker): handle ProcessLookupError Ticket: #35074

Revision 0f2adb85 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared): watch parent process on workers Ticket: #35074

Revision 4c324aac (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/worker): handle ProcessLookupError Ticket: #35074

History

#2 Updated by William Grzybowski over 2 years ago

  • Status changed from Unscreened to Not Started

#3 Updated by William Grzybowski over 2 years ago

  • Status changed from Not Started to In Progress

#4 Updated by Dru Lavigne over 2 years ago

  • Target version changed from 11.2-RC2 to 11.2-BETA1

#5 Updated by William Grzybowski over 2 years ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#6 Updated by Dru Lavigne over 2 years ago

  • Subject changed from Middlewared will not restart if it segfaults to Watch middleware parent process on workers

#8 Updated by Timothy Moore II about 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Testing with a FreeNAS Mini on INTERNAL13:

Opened the shell and killed the middleware process. UI became unavailable, then returned after the middleware restarted.

#9 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF