Project

General

Profile

Bug #50786

Unblock SIGCHLD to prevent too many smartd processes

Added by Bug Clerk over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
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

I first noticed this in 11.1-U5 and it remains in 11.1-U6. It could happen in previous versions as well.

The number of smartd-daemon processes after 1-2 days of uptime is around 20-30, and was around 42 after a much longer uptime.

root@freenas:~ # ps aux | grep smart
root 2825 0.0 0.0 8656 4360 - Is Wed20 0:00.30 /usr/local/sbin/smartd -n -i 1800 -c /usr/local/etc/smartd.conf -p /var/run/smartd-daemon.pid
root 7827 0.0 0.0 7096 3360 - I Wed20 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 7966 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 7967 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 7980 0.0 0.0 7096 3360 - I Wed20 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 8080 0.0 0.0 7096 3360 - I Wed20 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 8163 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8166 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8263 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8264 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8452 0.0 0.0 7096 3360 - I Wed20 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 8592 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8593 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8598 0.0 0.0 7096 3360 - I Wed20 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 8736 0.0 0.0 7096 3360 - I Wed20 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 8742 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8749 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8883 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 8884 0.0 0.0 7096 3360 - I Wed20 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 11542 0.0 0.0 7096 3360 - I 20:49 0:00.06 /bin/sh /usr/sbin/service smartd-daemon status
root 11687 0.0 0.0 7096 3360 - I 20:49 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 11688 0.0 0.0 7096 3360 - I 20:49 0:00.00 /bin/sh /usr/sbin/service smartd-daemon status
root 62454 0.0 0.0 6696 2596 0 S+ 20:43 0:00.00 grep smart
root@freenas:~ # ps aux | grep smart | wc -l
23

I have 4 disks and enabled the smartd daemon in services.

I have attached a screenshot of the disks and my smartd configuration.


Related issues

Related to FreeNAS - Bug #50797: Unblock SIGCHLD to prevent too many smartd processesDone
Copied from FreeNAS - Bug #42737: Unblock SIGCHLD to prevent too many smartd processesDone

History

#1 Updated by Bug Clerk over 1 year ago

  • Copied from Bug #42737: Unblock SIGCHLD to prevent too many smartd processes added

#2 Updated by Bug Clerk over 1 year ago

  • Status changed from Unscreened to In Progress

#3 Updated by Dru Lavigne over 1 year ago

  • Target version changed from Master - FreeNAS Nightlies to 11.2-RC2

#4 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne over 1 year ago

  • Related to Bug #50797: Unblock SIGCHLD to prevent too many smartd processes added

#6 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Too many smartd-daemon processes to Unblock SIGCHLD to prevent too many smartd processes
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Bonnie Follweiler over 1 year ago

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

Test Passed in FreeNAS-11.2-INTERNAL29

#8 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF