Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Net:sftp module is slow and hangs

by cengineer (Pilgrim)
on Aug 21, 2007 at 13:39 UTC ( #634082=note: print w/replies, xml ) Need Help??

in reply to Net:sftp module is slow and hangs

Take a look at this workaround for Net::SFTP hanging on large file transfers. The problem has to do with servers rekeying SSH sessions and changing the version that your client reports to let the server know it's talking to a non-rekeying client.

As far as the slowness goes, you can try installing Math::BigInt::GMP

Replies are listed 'Best First'.
Re^2: Net:sftp module is slow and hangs
by rajeev (Initiate) on Aug 27, 2007 at 03:05 UTC
    Late in response since I was off from work for a while. Thanks guys for your input. I have used the crashingdaily's advice and it seems to work.
    But as far as speed of this module go, even after installing the Math::BigInt::GMP there is no impact on the speed. For my setup it is taking 90 minutes for a 130 MB file compare to 10 minutes from commandline. When I see on my linux box I have both GMP modules installed
    Do I need to uninstall the Math::GMP and then install Math::BigInt::GMP? I am wondering which GMP is used by Net::SFTP module. Thx.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://634082]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2023-11-29 16:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found