Unix Technical Forum

scp error

This is a discussion on scp error within the comp.unix.solaris forums, part of the Solaris Operating System category; --> All, I'm using /bin/scp to transfer files between hosts. With a file about 3.5M, scp fails with the error ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-24-2008, 10:28 PM
Sashi
 
Posts: n/a
Default scp error

All, I'm using /bin/scp to transfer files between hosts.
With a file about 3.5M, scp fails with the error message
================================================== ==============
Desktop_Billable.out 60% |******** | 17272 KB 00:03
ETAbuffer_append_space: alloc 10506240 not supported
lost connection
================================================== ==============

Is this a limitation of scp or is there an issue in the system API?
When I zip the file (with either gzip or use scp -C), the transfer
succeeds.

Is this limitation in file size built in? I couldn't find any mention
in the scp man page.

Any pointers?

Thanks,
Sashi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-24-2008, 10:28 PM
hume.spamfilter@bofh.ca
 
Posts: n/a
Default Re: scp error

Sashi <smalladi@gmail.com> wrote:
> All, I'm using /bin/scp to transfer files between hosts.


What OS and SSH version on both sides?

> With a file about 3.5M, scp fails with the error message
> ================================================== ==============
> Desktop_Billable.out 60% |******** | 17272 KB 00:03


17272 KB is substantially more than 3.5M...

> Is this limitation in file size built in? I couldn't find any mention
> in the scp man page.


I've transferred many gigabytes using scp. It's unlikely to be a built-in
limitation. Unfortunately, it's hard to deduce more with the very few
details you've provided.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-24-2008, 10:28 PM
Sashi
 
Posts: n/a
Default Re: scp error

On Jun 24, 3:47 pm, hume.spamfil...@bofh.ca wrote:
> Sashi <small...@gmail.com> wrote:
> > All, I'm using /bin/scp to transfer files between hosts.

>
> What OS and SSH version on both sides?
>
> > With a file about 3.5M, scp fails with the error message
> > ================================================== ==============
> > Desktop_Billable.out 60% |******** | 17272 KB 00:03

>
> 17272 KB is substantially more than 3.5M...
>
> > Is this limitation in file size built in? I couldn't find any mention
> > in the scp man page.

>
> I've transferred many gigabytes using scp. It's unlikely to be a built-in
> limitation. Unfortunately, it's hard to deduce more with the very few
> details you've provided.
>
> --
> Brandon Hume - hume -> BOFH.Ca,http://WWW.BOFH.Ca/


So have it and never had a problem earlier.
Here's the result of running the command in verbose mode:

debug1: Authentication succeeded (keyboard-interactive)
debug1: fd 8 setting O_NONBLOCK
debug1: fd 9 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending command: scp -v -d -t /ned/data/20080615/Recovery/.
debug1: channel request 0: exec
debug1: channel 0: open confirm rwindow 100000 rmax 32768
Sending file modes: C0644 29039048 Desktop_Billable.out.csv
Desktop_Billable.out 33% |**** | 9464 KB 00:05
ETAbuffer_append_space: alloc 10498048 not supported
debug1: Calling cleanup 0x2620c(0x0)
debug1: channel_free: channel 0: client-session, nchannels 1
debug1: Calling cleanup 0x3429c(0x0)
lost connection
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-27-2008, 11:03 AM
Sam N
 
Posts: n/a
Default Re: scp error

Sashi wrote:
> On Jun 24, 3:47 pm, hume.spamfil...@bofh.ca wrote:
>> Sashi <small...@gmail.com> wrote:
>>> All, I'm using /bin/scp to transfer files between hosts.

>> What OS and SSH version on both sides?
>>
>>> With a file about 3.5M, scp fails with the error message
>>> ================================================== ==============
>>> Desktop_Billable.out 60% |******** | 17272 KB 00:03

>> 17272 KB is substantially more than 3.5M...
>>
>>> Is this limitation in file size built in? I couldn't find any mention
>>> in the scp man page.

>> I've transferred many gigabytes using scp. It's unlikely to be a built-in
>> limitation. Unfortunately, it's hard to deduce more with the very few
>> details you've provided.
>>
>> --
>> Brandon Hume - hume -> BOFH.Ca,http://WWW.BOFH.Ca/

>
> So have it and never had a problem earlier.
> Here's the result of running the command in verbose mode:
>
> debug1: Authentication succeeded (keyboard-interactive)
> debug1: fd 8 setting O_NONBLOCK
> debug1: fd 9 setting O_NONBLOCK
> debug1: channel 0: new [client-session]
> debug1: send channel open 0
> debug1: Entering interactive session.
> debug1: ssh_session2_setup: id 0
> debug1: Sending command: scp -v -d -t /ned/data/20080615/Recovery/.
> debug1: channel request 0: exec
> debug1: channel 0: open confirm rwindow 100000 rmax 32768
> Sending file modes: C0644 29039048 Desktop_Billable.out.csv
> Desktop_Billable.out 33% |**** | 9464 KB 00:05
> ETAbuffer_append_space: alloc 10498048 not supported
> debug1: Calling cleanup 0x2620c(0x0)
> debug1: channel_free: channel 0: client-session, nchannels 1
> debug1: Calling cleanup 0x3429c(0x0)
> lost connection


Looks like the file you're sending ( Desktop_Billable.out )is still
being accessed/appended to while you're trying to transfer it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-28-2008, 10:19 AM
Sashi
 
Posts: n/a
Default Re: scp error

On Jun 24, 5:47 pm, Sam N <s...@spam.unix.ms.spam> wrote:

> Looks like the file you're sending ( Desktop_Billable.out )is still
> being accessed/appended to while you're trying to transfer it.


I don't think. Sending it with the -C option or zipping it up first
works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-29-2008, 01:29 PM
Sam N
 
Posts: n/a
Default Re: scp error

Sashi wrote:
> On Jun 24, 5:47 pm, Sam N <s...@spam.unix.ms.spam> wrote:
>
>> Looks like the file you're sending ( Desktop_Billable.out )is still
>> being accessed/appended to while you're trying to transfer it.

>
> I don't think. Sending it with the -C option or zipping it up first
> works.


...........

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com