diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 57722351c..d64fae069 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -298,6 +298,7 @@ if ($inet6support) { my $client; my $peerhost; my %packets; + my $actualpid=$$; until ($quit) { eval { while (1) { @@ -348,6 +349,9 @@ if ($inet6support) { if ($@) { syslog("local4|err","xcatd: possible BUG encountered by xCAT UDP service: ".$@); } + unless ($actualpid == $$) { #We should absolutely never be here, exponential growth from a plugin crash. + exit 1; + } } }