Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Net::SFTP::Foreign frequent connection server stall

by salva (Monsignor)
on Jun 20, 2012 at 05:46 UTC ( #977226=note: print w/ replies, xml ) Need Help??


in reply to Net::SFTP::Foreign frequent connection server stall

Hi, I am Net::SFTP::Foreign author. Set $Net::SFTP::Foreign::debug = ~(8|16|1024|2048); and send me the output by email. Also, run your script with truss and send me the last hundreds of lines.

BTW, which SSH client are you using, the one from Solaris or OpenSSH one and which version? I would try changing it.

Net::SFTP::Foreign supports timeouts and resuming transfers. You can combine these features as a workaround until we find what is going wrong.


Comment on Re: Net::SFTP::Foreign frequent connection server stall
Select or Download Code
Re^2: Net::SFTP::Foreign frequent connection server stall
by Anonymous Monk on Jun 20, 2012 at 16:46 UTC
    Hi Salva,

    Getting a dump from a failed run will be tricky. As it seems to only fail the first run of the day. I will try to get it.

    "ssh -V" shows: Sun_SSH_1.1.1, SSH protocols 1.5/2.0, OpenSSL
    I'm not sure what you mean by changing it or that I have any power to(?)

    PS. Just want to say kudos because I can see you actively answer user questions.
      As it seems to only fail the first run of the day

      Then, you must investigate what happens at that time of the day that is different than when it runs properly.

      It may be a problem related to the network, some firewall being rebooted every day at some time early on the morning or whatever. If you can run tcpdump on the machine, you may be able to discover what is happening with the connection at the TCP level.

      I'm not sure what you mean by changing it or that I have any power to(?)

      If you can, install OpenSSH on the machine and tell Net::SFTP::Foreign to use it instead of the SSH client from Solaris, just to see if it makes a difference.

Re^2: Net::SFTP::Foreign frequent connection server stall
by rider754 (Novice) on Jun 21, 2012 at 16:44 UTC
    Hello, not sure how to email you (can you PM me your email address?). Thanks!
      CPAN authors can usually be reached via CPANID@cpan.org. In my case, salva@cpan.org.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (17)
As of 2014-07-11 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls