Project

General

Profile

Bug #59454

fix(middlewared/mdns): avoid dozens of recurring syscalls

Added by Bug Clerk almost 3 years ago. Updated almost 3 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Seen in:
Severity:
New
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

PR: https://github.com/freenas/freenas/pull/2130

MDNS plugin was being stupid checking for state of mdnsd, resulting in
dozens of syscalls being executed every few seconds.

For now we are going to use a thread to monitor the pid using kqueue.


Related issues

Copied to FreeNAS - Bug #59481: Avoid dozens of recurring mDNS syscallsDone

Associated revisions

Revision 85184eb9 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): avoid dozens of recurring syscalls MDNS plugin was being stupid checking for state of mdnsd, resulting in dozens of syscalls being executed every few seconds. For now we are going to use a thread to monitor the pid using kqueue. Ticket: #59454

Revision e9096256 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): do not use global variable Requested by Vladimir Vinogradenko Ticket: #59454

Revision 3b49c2e3 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): do not use global variable Requested by Vladimir Vinogradenko Ticket: #59454

Revision 7be282e7 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): avoid dozens of recurring syscalls MDNS plugin was being stupid checking for state of mdnsd, resulting in dozens of syscalls being executed every few seconds. For now we are going to use a thread to monitor the pid using kqueue. Ticket: #59454

Revision 35944cad (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): do not use global variable Requested by Vladimir Vinogradenko Ticket: #59454

Revision 5d19a445 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): avoid dozens of recurring syscalls MDNS plugin was being stupid checking for state of mdnsd, resulting in dozens of syscalls being executed every few seconds. For now we are going to use a thread to monitor the pid using kqueue. Ticket: #59454

Revision afb25996 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared/mdns): do not use global variable Requested by Vladimir Vinogradenko Ticket: #59454

History

#1 Updated by Bug Clerk almost 3 years ago

  • Status changed from In Progress to Ready for Testing

#2 Updated by Bug Clerk almost 3 years ago

  • Target version changed from Backlog to 11.3

#3 Updated by Bug Clerk almost 3 years ago

  • Copied to Bug #59481: Avoid dozens of recurring mDNS syscalls added

#4 Updated by William Grzybowski almost 3 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Will be tested in related ticket.

Also available in: Atom PDF