Reduce memory usage of downed KVM and Xen consoles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c79e383621
commit
426a80a53f
@ -71,10 +71,8 @@ xCAT::Client::submit_request($cmdref,\&getans);
|
||||
until ($dsthost and $speed and $dstty) {
|
||||
release_lock();
|
||||
$sleepint=int(rand(30))+60;
|
||||
print "Console not ready, retrying in $sleepint seconds (Ctrl-e,c,o to skip delay)\n";
|
||||
sleep $sleepint;
|
||||
get_lock();
|
||||
xCAT::Client::submit_request($cmdref,\&getans);
|
||||
print "Console not ready, retrying in $sleepint seconds (Ctrl-C to skip delay)\n";
|
||||
exec "sleep $sleepint";
|
||||
}
|
||||
release_lock();
|
||||
exec "ssh -t $dsthost screen -U -a -O -e ^]a -d -R -S serial-".$ARGV[0]."-cons -A $dstty $speed";
|
||||
|
@ -71,10 +71,8 @@ xCAT::Client::submit_request($cmdref,\&getans);
|
||||
until ($dsthost and $speed and $dstty) {
|
||||
release_lock();
|
||||
$sleepint=int(rand(30))+60;
|
||||
print "Console not ready, retrying in $sleepint seconds (Ctrl-e,c,o to skip delay)\n";
|
||||
sleep $sleepint;
|
||||
get_lock();
|
||||
xCAT::Client::submit_request($cmdref,\&getans);
|
||||
print "Console not ready, retrying in $sleepint seconds (Ctrl-C to skip delay)\n";
|
||||
exec "sleep $sleepint";
|
||||
}
|
||||
release_lock();
|
||||
exec "ssh -t $dsthost screen -U -a -O -e ^]a -d -R -S serial-".$ARGV[0]."-cons -A $dstty $speed";
|
||||
|
Loading…
x
Reference in New Issue
Block a user