Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 7481
Status: rejected
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: broomberg [...] voicenet.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: CPU spin when run under batch (or Sun SGE)
I am on a quad Opteron from Compaq running Linux, Linux mash.networkmcs.com 2.4.21-15.0.2.ELhugemem #1 SMP Wed Jun 16 22:36:51 EDT 2004 i686 athlon i386 GNU/Linux I have a simple process that I control by using your SSH to a Win2K box running WinSSHD. Usually works great (thanks)! But, when I attempt to run it via batch or Sun SGE, the time spent in my code waiting for the ssh->cmd('command') to complete spins the local CPU 100%. "close (STDIN)" fixes this. An enhancement to the open/login process would be a retry count. I had to code this because my Windows box gets too busy and refuses connections occasionally. Again, thanks for this code. It has saved me a huge amount of pain since I was able to replace a Windows based spooling system with it.
Please use Net::SSH2.