Saw some weirdness with uplink today when interrupting it. I tried ^C and it printed a new progress line. So tried a few ^C, ^Z, ^\ and it just got stuck. So I killed it from another shell:
mbp:~ jim$ time uplink cp big70 sj://hbtest/big70a
58.12 MiB / 70.00 MiB [-------------------------------------------------------------------------------->________________] 83.04% 8.01 MiB p/s58.12 MiB / 70.00 MiB [-------------------------------------------------------------------------------->________________] 83.04% 7.01 MiB p/s^C^C^C^C
^C^Z
^C^\
^\
real 1m16.939s
user 0m1.528s
sys 0m1.417s
mbp:~ jim$
Tried again, this time got a weird error:
mbp:~ jim$ uplink cp big70 sj://hbtest/big70a
0 B / 70.00 MiB [_______________________________________________________________________________________________________________] 0.00% ? p/serror closing project: uplink: lookup collectora.storj.io: no such host
storj.io/uplink.(*Project).Close:151
storj.io/storj/cmd/uplink/cmd.closeProject:116
storj.io/storj/cmd/uplink/cmd.upload:122
storj.io/storj/cmd/uplink/cmd.copyMain:470
storj.io/private/process.cleanup.func1.4:363
storj.io/private/process.cleanup.func1:381
github.com/spf13/cobra.(*Command).execute:852
github.com/spf13/cobra.(*Command).ExecuteC:960
github.com/spf13/cobra.(*Command).Execute:897
storj.io/private/process.ExecWithCustomConfig:88
main.main:17
runtime.main:204
Error: uplink: metaclient: rpc: dial tcp: lookup us1.storj.io: no such host
mbp:~ jim$ uplink version
Release build
Version: v1.37.3
Build timestamp: 14 Sep 21 09:57 EDT
Git commit: 0ded229c30d59f28bcd253788b03d3245c5e4571
Tried a 3rd time. Every ^C was ignored, but this time ^Z eventually worked to suspend it:
mbp:~ jim$ uplink cp big70 sj://hbtest/big70a
58.12 MiB / 70.00 MiB [-------------------------------------------------------------------------------->________________] 83.04% 2.38 MiB p/s58.12 MiB / 70.00 MiB
... (more of these every time ^C pressed)
[------------------------------------------------------------------------------>________________] 83.04% 562.62 KiB p/s^Z
[4]+ Stopped uplink cp big70 sj://hbtest/big70a
mbp:~ jim$ jobs
[1] Stopped emacs z.py
[2] Stopped emacs z.py
[3]- Stopped emacs z.py
[4]+ Stopped uplink cp big70 sj://hbtest/big70a
Tried to kill it but it’s like the Energizer bunny (keeps going and going). But it’s only transferring 6 bytes/s at the end. It did eventually stop on its own.
mbp:~ jim$ kill %4
58.12 MiB / 70.00 MiB [------------------------------------------------------------------------------>________________] 83.04% 526.32 KiB p/s
[4]+ Stopped uplink cp big70 sj://hbtest/big70a
58.12 MiB / 70.00 MiB [------------------------------------------------------------------------------>________________] 83.04% 181.06 KiB p/s
58.12 MiB / 70.00 MiB [------------------------------------------------------------------------------------>_________________] 83.04% 6 B p/s
Error: uplink: stream: context canceled; ecclient: upload cancelled by user
[4]+ Exit 1 uplink cp big70 sj://hbtest/big70a
mbp:~ jim$