diff --git a/xCAT-server-2.0/sbin/xcatd b/xCAT-server-2.0/sbin/xcatd index 70795ce7e..372f341eb 100755 --- a/xCAT-server-2.0/sbin/xcatd +++ b/xCAT-server-2.0/sbin/xcatd @@ -396,12 +396,12 @@ sub generic_reaper { $SIG{CHLD} = \&generic_reaper; } -#sub ssl_reaper { -# while (waitpid(-1,WNOHANG) > 0) { -# $sslclients--; -# } -# $SIG{CHLD} = \&ssl_reaper; -#} +sub ssl_reaper { + while (waitpid(-1,WNOHANG) > 0) { + $sslclients--; + } + $SIG{CHLD} = \&ssl_reaper; +} sub dispatch_reaper { while (($CHILDPID =waitpid(-1, WNOHANG)) > 0) {