Bug 1000342

Summary: child reaping
Product: [Fedora] Fedora EPEL Reporter: Leo Baltus <leo.baltus>
Component: perl-Net-ServerAssignee: Kevin Fenzi <kevin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: kevin, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-19 23:48:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Suggested patch none

Description Leo Baltus 2013-08-23 08:58:24 UTC
Created attachment 789506 [details]
Suggested patch

Description of problem:
perl-Net-Server-0.97.7.el6 leaves childs in a "<defunct>" state after SIGHUP.

Version-Release number of selected component (if applicable):
perl-Net-Server-0.97.7.el6

How reproducible:
start amavisd-new-2.7.x. Im am not using amavisd from Epel, sorry.

Steps to Reproduce:
1. start amavisd
2. amavisd reload
3. no step 3

Actual results:
ps -ef | grep amavisd shows the old childs in defunct state as well as the new child:
csmx0ml  19246 19210  0 09:40 ?        00:00:00 [amavisd] <defunct>
csmx0ml  19247 19210  0 09:40 ?        00:00:00 [amavisd] <defunct>
csmx0ml  19248 19210  0 09:40 ?        00:00:00 [amavisd] <defunct>
csmx0ml  19249 19210  0 09:40 ?        00:00:00 [amavisd] <defunct>
csmx0ml  22617 19210  0 09:41 ?        00:00:00 /local/amavisd/amavisd (ch1-avail)
csmx0ml  22618 19210  0 09:41 ?        00:00:00 /local/amavisd/amavisd (virgin child)
csmx0ml  22619 19210  0 09:41 ?        00:00:00 /local/amavisd/amavisd (virgin child)
csmx0ml  22620 19210  0 09:41 ?        00:00:00 /local/amavisd/amavisd (ch1-avail)
csmx0ml  22621 19210  0 09:41 ?        00:00:00 /local/amavisd/amavisd (ch1-avail)

Expected results:
defunct processes should not be there

Additional info:
Discussion and fix can be found here:
http://www.mail-archive.com/amavis-user@lists.sourceforge.net/msg15991.html

Comment 1 Kevin Fenzi 2013-08-24 03:27:36 UTC
So, we could apply this single patch, or... we could look at updating to a newer version. 

In either case however, we need to likely test the affect this has on the other packages that use it that are in EPEL: 

repoquery -q --whatrequires perl-Net-Server

amavisd-new-0:2.8.0-4.el6.noarch
munin-0:2.0.17-1.el6.noarch
perl-Net-Server-Coro-0:1.2-2.el6.noarch
postgrey-0:1.34-1.el6.noarch
sqlgrey-0:1.7.6-3.el6.noarch

I'll see about trying to contact the owners of those various packages for comment.

Comment 2 Kevin Fenzi 2020-04-19 23:48:47 UTC
This got updated in https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2014-3706 (2014).