From c949397752b5bfb92c6890857c105e8d1c230837 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 21 Jul 2008 17:34:17 +0000 Subject: [PATCH] -Fix problem where systems management commands to more than worth of BMCs would fail git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 9718d668a..681d8b435 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -4753,7 +4753,7 @@ sub process_request { $SIG{CHLD} = sub {my $kpid; do { $kpid = waitpid(-1, WNOHANG); if ($kpid > 0) { delete $bmc_comm_pids{$kpid}; $children--; } } while $kpid > 0; }; my $sub_fds = new IO::Select; foreach (@donargs) { - while ($children > $ipmimaxp) { sleep (0.1); } + while ($children > $ipmimaxp) { forward_data($callback,$sub_fds); } $children++; my $cfd; my $pfd;