recurrent dnsadmin defunct/zombies

ottdev

Well-Known Member
Oct 1, 2013
129
4
68
cPanel Access Level
Root Administrator
They don't seem to be causing an issue. On Sep 20, I killed the dnsaadmin process itself to get rid of about 20-30 of them. It recovered itself ok, but is still leaving a zombie or 2 every day ?? Is this normal/expected with the new way it works ?

Code:
# ps -efwww|grep dns
root  1838  9862  0 02:09 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  2845  9862  0 Sep26 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  4678  9862  0 Sep21 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  7792  9862  0 02:34 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  8992 31261  0 21:18 pts/0  00:00:00 grep dns
root  9470  9862  0 Sep22 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  9862  1  0 Sep20 ?  00:00:20 dnsadmin - dormant mode  --listen=3
root  11283  9862  0 Sep21 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  12943  9862  0 02:55 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  20387  9862  0 Sep25 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  20877  9862  0 Sep25 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  31470  9862  0 Sep23 ?  00:00:00 [dnsadmin - GETZ] <defunct>
root  31719  9862  0 Sep25 ?  00:00:00 [dnsadmin - GETZ] <defunct>
I see this in the log:
Code:
[2016-09-27 02:57:35 -0400] info [dnsadmin] Accepted connection on fd=4
(internal error) Timed out while running GETZONES
Died at /usr/local/cpanel/whostmgr/bin/dnsadmin line 649, <$mysock> line 2.
 
Last edited:

vikins

Well-Known Member
Oct 3, 2006
120
1
168
Seeing the same thing. Please post resolution. Creating a ticket for every little things gets to be a hassle sometimes.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

Internal case CPANEL-7673 addresses an issue where dnsadmin was switching to dormant mode without cleaning processes, resulting in zombies. The resolution is included with cPanel version 60:

Fixed case CPANEL-7673: Dnsadmin cleanup processes before switching to dormant.

cPanel version 60 is tentatively scheduled for publication to the "Current" build tier next week. In the meantime, you can temporarily disable "Dormant Mode" for the dnsadmin service via the "Dormant services" option under the "Software" tab in "WHM >> Tweak Settings".

Thank you.
 
  • Like
Reactions: vikins