I've got a redhat 9 server. Every few days when I try to scp a 50 meg file accross the network it gets to 99% then stalls. It won't copy across until I execute
/etc/init.d/sshd restart
How long is the stall? Your remote end mind be an EXT3 system with a slow drive that is busy calculating and writing the journal for the filesystem.
I have all sorts of examples of untaring an archive and other ops that pause or slow down because the receiving end is bogged down with EXT3 journalling overhead.
Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
When I restart the file copies accross fine. Sometimes have to restart 2-3 times though... Yes it is an EXT3 system, but it still seems weird to me that the file copies accross after the sshd is restarted.
When you restart the sshd server you just restart the listening service. Each scp session spawns a new sshd process. The 'stalled' process is unaffected by the restart.
Do a 'ps ax' or 'pstree -hupla' to list the running processes. 'top' will also show if you have a cpu-hog, or I/O-wait issue. 'lsof -i' will show which processes are listening, and which have active network connections.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.