Operating System - HP-UX
1748245 Members
3704 Online
108760 Solutions
New Discussion юеВ

SFTP Stalled then resumes

 
SOLVED
Go to solution
Darren Etheridge_2
Super Advisor

SFTP Stalled then resumes

When doing a SFTP and the status says "STALLED" then resumes, does this cause any data integrity problems on the destination?
9 REPLIES 9
Steven E. Protter
Exalted Contributor
Solution

Re: SFTP Stalled then resumes

Shalom Darren,

No stalled does not cause data integrity issues. If such an issue arises, the sftp will terminate with a non-zero error code.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darren Etheridge_2
Super Advisor

Re: SFTP Stalled then resumes

I am though getting some sftp puts that are not reaching 100%, is there a parameter or way to resend the file or change the timeout?
Steven E. Protter
Exalted Contributor

Re: SFTP Stalled then resumes

Shalom,

ssh_config and sshd_config contain good self documentation that will let you alter parameters such as timeout and other characteristics.

However, this behavior should not be happening with such a robust protocol.

So I have some questions.

lanadmin -x lan0
# change lan0 to the actual active lan, see netstat -in for that.

Looking for a duplex other than full.

dmesg
# check for network errors.

Are you going through a firewall or VPN?

Please post answers.

If the sftp transfer does not reach 100% it is useless and must be started over.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darren Etheridge_2
Super Advisor

Re: SFTP Stalled then resumes

Attached is the lanadmin info for our lan cards. We are using a firewall.


PPA Number = 900
Description = lan900 Hewlett-Packard LinkAggregate Interface
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 2000000000
Station Address = 0x0017084c085f
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 434
Inbound Octets = 1992247307
Inbound Unicast Packets = 1987266884
Inbound Non-Unicast Packets = 1697991
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 233
Outbound Octets = 3187878956
Outbound Unicast Packets = 1069539980
Outbound Non-Unicast Packets = 24247
Outbound Discards = 158
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 0
Darren Etheridge_2
Super Advisor

Re: SFTP Stalled then resumes

and the thruput is only 60/kbs average!

nightwich
Valued Contributor

Re: SFTP Stalled then resumes

Hi Darren

Why are you usinf sftp.

Why not scp ?

Are you using a program like winscp ? or just are you dping a sftp to a server.


Please give more detail. I do not see any network problem.

Regards.
Steven E. Protter
Exalted Contributor

Re: SFTP Stalled then resumes

Shalom,

Please post:

lanadmin -x 900

I'm not sure what lanadmin will give you on an APA nic.

If its not helpful:

lanscan

Then landamin -x 0
0 for lan0 use only the number, do this for each lan.

What we're looking for is duplex and speed information.

Its quite common to sometimes have issues here and they can be fixed with some additional configuration.

Note also that you will never in any environment get the theoretical maximum speed on a network connection. The stalling we can fix, maximum theoretical speed on practice won't happen. Getting good speed, in the 10-20 Mb/s range on a GB connection with good switches is quite possible.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darren Etheridge_2
Super Advisor

Re: SFTP Stalled then resumes

I think I found out our problem, our ISP piple was only 3MB.... We changed it to 10MB yesterday and now the problems seemed to be gone. But thank you for all of your help!
Darren Etheridge_2
Super Advisor

Re: SFTP Stalled then resumes

We were maxed out on our ISP pipe of 3MB so our uploads to another site (FL to PA) were timing out. We upgraded our ISP speed to 10MB and that solved the timeouts & stalls :)

Our vendor requires SFTP and not SCP

Thank you all for your help!