Skip to content

cf ssh stops after 2GB transferred #1098

@saliceti

Description

@saliceti

Command

  • Any cf ssh command involving uploading more than 2GB data
  • Ex: dd if=/dev/zero bs=1024k count=5000 | pv | ./cf ssh <app-name> -c "cat > /dev/null"
    (pv is only there to show progress and amount of data transferred)

What occurred

FAILED 0:00:35 [60.8MB/s] [                                                                                                            <=>                                               ]
Error: wait: remote command exited without exit status or exit signal
   2GB 0:00:35 [57.5MB/s] [                                                                                                               <=>                                            ]     

What you expected to occur

5000+0 records in0.7MB/s] [                                     <=>                                                                                                                      ]
5000+0 records out
5242880000 bytes (5.2 GB) copied, 88.5242 s, 59.2 MB/s
4.88GB 0:01:28 [56.5MB/s] [                                  <=>                                                                                                                         ]

CLI Version

  • Works with 6.23.1
  • Fails with 6.24.0
  • Fails with 6.25.0

CC API Endpoint Version

  • API version: 2.75.0
  • Patched diego 1.8.1 version with updated crypto library (see below)

CF Trace

CF_TRACE doesn't look interesting as the ssh request is not logged.

Platform & Shell Details

Same behaviour on:

  • Ubuntu 14.04.5 LTS
  • MacOS 10.12.3

Any other relevant information

This was discovered when investigating https://github.com/cloudfoundry/diego-ssh/issues/31
The 1GB issue was solved by updating the crypto library in diego-release. But now we're hitting this error that looks related to cf cli.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions