LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-09-2003, 10:30 AM   #1
prut
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
Question proces ssh and scp stopped, connection hangs


Here's the problem:

2 intel based machines (AMD500 {#1} and AMD2000 {#2}) running RedHat 9.

Connecting from #2 to #1 with ssh as a user.
$ su - to root.

everything works (ls, pwd, cd, etc etc)

$ cd /data
in /data is a dir called photo with a content of about 500MB in jpeg's.

$ tar cvf foto.tar foto
tar starts but after about 75% the proces stops, ctrl-c doesn't work, connection hangs.

with another terminal -> ssh from #2 to #1
$ ps -ef
i see the login proces, the su proces and the tar proces
$ top
tar has no cpu usage, no zombies
$ kill -9 <tar proces>
doesn's work
$ kill -9 <login proces>
connection in first terminal closes
$ kill -9 <su proces>
$ kill -9 <tar proces>
$ ps -ef
login and su proces are gone but the tar proces is still visible
$ cd /data
$ ls
terminal hangs !!

same thing happens with the command find
if i use scp to copy a large amount of data from #2 to #1, it will start but after about 800MB the transfer stops and the terminal hangs

all the rights are set correct, there is enough free space on both machine's and there is no data limit for the user.

if i don't do anything what uses a lot of the system (cpu or disk activity) the ssh connection can stay open for hours. but one wrong move via ssh and the terminal hangs.

also, if i work localy on #1: tar works fine, find works and cp has no problems with a .tar of 2GB copying it from /home to /data.

can anyone help me with this strange problem?
 
Old 04-09-2004, 08:38 AM   #2
Lord_Ergo
LQ Newbie
 
Registered: Mar 2004
Location: Hattiesburg, Ms
Distribution: Mandrake or Slack
Posts: 4

Rep: Reputation: 0
I'm having a very similar problem

And have yet to find the solution. Did you ever find a fix for yours? If I find one I'll post it here
 
Old 04-10-2004, 10:57 AM   #3
prut
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Still no clue what is wrong.

A friend of mine suggested to take out, and put back in, the network card.
No luck.

At this moment #1 is running Red Hat 9 and #2 is running Mandrake 9.2.

I have learned to live with it and found out that FTP works for most of the time.
And if it hangs i kill it and restart it and it start where it stopped.

I blame it on the motherboard (hardware failure).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH connection hangs over dialup flint Linux - Software 1 04-22-2005 08:57 AM
ssh hangs after establishing connection TreeHugger Linux - Security 2 11-03-2004 10:20 AM
Putty and ssh connection hangs KidKootenay Linux - Newbie 7 09-03-2004 11:30 PM
difference between SSH and SCP palanisaravanan Linux - Security 8 12-28-2003 11:07 PM
Internet connection sharing / ssh stopped it toastermaker Linux - Newbie 5 11-23-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration