Have MacMap throttle itself to 64 switches at a time to fend off memory starvation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12005 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-03-26 17:36:22 +00:00
parent a8dcb097f0
commit 47b6c89a4c

View File

@ -337,6 +337,9 @@ sub refresh_table {
if ($checked_pairs{$entry->{switch}}) {
next;
}
while($children > 64) {
$self->handle_output($inputs);
}
$checked_pairs{$entry->{switch}}=1;
pipe my $child,my $parent;
$child->autoflush(1);