Bug 118916

Summary: scp dies with Lost Connection
Product: Red Hat Enterprise Linux 2.1 Reporter: Nate Golnik <nate>
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-12 15:50:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Strace from the Server side
none
client side strace of it dieing none

Description Nate Golnik 2004-03-22 19:06:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116

Description of problem:
After the server has been running for a couple of weeks, scp from
local machine to remote server dies with Lost Connection.  There was
no network problems at that time.  Strace of the server end shows 

1590  rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
1590  close(6)                          = 0

Full Straces from client and server will be uploaded.  Once it gets
into this state restarting ssh doesn't fix it only a reboot seems to work.

Scp from remote server to client works with no problems.

Version-Release number of selected component (if applicable):
openssh-3.1p1-14

How reproducible:
Sometimes

Steps to Reproduce:
1.wait till ssh gets into broken state
2.scp file to server
3. get sigpipe and local host reports Lost Connection
    

Actual Results:  nate@localhost nate]$ scp abuse.log
nate.com:/tmp
nate.com's password:
abuse.log              5% |*                            |   392 KB   
01:34 ETAlost connection


Expected Results:  Completion of scp.

Additional info:

Comment 1 Nate Golnik 2004-03-22 19:09:03 UTC
Created attachment 98753 [details]
Strace from the Server side

This is the strace output from the server.

Comment 2 Nate Golnik 2004-03-22 19:10:29 UTC
Created attachment 98754 [details]
client side strace of it dieing

Comment 3 Tomas Mraz 2005-04-12 15:29:05 UTC
Does it still happen? If yes, does ssh-ing to the server fail?
Could you attach log produced with scp -vvv when it fails?


Comment 4 Nate Golnik 2005-04-12 15:42:29 UTC
This problem has gone away with one of the latest updates.

Comment 5 Tomas Mraz 2005-04-12 15:50:58 UTC
OK, thanks.