From cac6a5c8afd96e0f180924b0835cf0c1201ee3fd Mon Sep 17 00:00:00 2001 From: huweihua Date: Fri, 27 Nov 2015 03:16:02 -0500 Subject: [PATCH] add sleep when waitpid --- xCAT-server/lib/xcat/plugins/getadapter.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/getadapter.pm b/xCAT-server/lib/xcat/plugins/getadapter.pm index 6b071cbe2..6adbcf745 100644 --- a/xCAT-server/lib/xcat/plugins/getadapter.pm +++ b/xCAT-server/lib/xcat/plugins/getadapter.pm @@ -331,6 +331,7 @@ sub scan_adapters{ deletenode($request->{missnode}, "$pidreord{$cpid}"); } $forkcount--; + sleep 0.1; } } }