aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

s3 cp --recursive frequently hangs

Open ralph-tice opened this issue 12 years ago • 2 comments

I am generally trying to transfer ~753 files which results in ~7000 parts, 40-50GB of data. Very often this will hang after the first 5-7 parts finish, and very often it will hang with only a few parts remaining. I've taken to wrapping my aws s3 commands with the timeout command with some upper bound of how long I expect data transfer to take, but I would like to help make the tool more resilient as well. Please let me know if I can provide anything further (and sorry for the wall of text).

When I ctrl-C I sometimes get close to this stack:

Traceback (most recent call last):
  File "/usr/share/awscli/awscli/customizations/s3/s3handler.py", line 79, in call
    self.executer.wait()
  File "/usr/share/awscli/awscli/customizations/s3/executer.py", line 77, in wait
    self.queue.join()
  File "/usr/share/awscli/awscli/customizations/s3/utils.py", line 53, in join
    self.all_tasks_done.wait(QUEUE_TIMEOUT_WAIT)
  File "/usr/lib/python3.4/threading.py", line 293, in wait
    gotit = waiter.acquire(True, timeout)

If I strace a stuck process, I see this:

$ sudo strace -p 67296
Process 67296 attached
futex(0x1cedb20, FUTEX_WAIT_PRIVATE, 0, NULL

After one ctrl-C, this follows:

) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
futex(0x1cedb20, FUTEX_WAIT_PRIVATE, 0, NULL)

Usually two ctrl-C is enough to get unstuck, here is the entire strace until end of process:

$ sudo strace -p 67296
Process 67296 attached
futex(0x1cedb20, FUTEX_WAIT_PRIVATE, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
futex(0x1cedb20, FUTEX_WAIT_PRIVATE, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
rt_sigreturn()                          = -1 EINTR (Interrupted system call)
futex(0x7f07a40015f0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x9fa8e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x9fa8e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x9fa8a0, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0x7f07a4000c10, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f079c000c10, FUTEX_WAIT_PRIVATE, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
rt_sigreturn()                          = -1 EINTR (Interrupted system call)
write(2, "Traceback (most recent call last"..., 35) = 35
write(2, "  File \"/usr/bin/aws\", line 23, "..., 44) = 44
open("/usr/bin/aws", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0755, st_size=715, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0755, st_size=715, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0755, st_size=715, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "#!/usr/bin/python3\n# Copyright 2"..., 4096) = 715
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "#!/usr/bin/python3\n# Copyright 2"..., 8192) = 715
close(12)                               = 0
write(2, "    sys.exit(main())\n", 21)  = 21
write(2, "  File \"/usr/bin/aws\", line 19, "..., 40) = 40
open("/usr/bin/aws", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0755, st_size=715, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0755, st_size=715, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0755, st_size=715, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "#!/usr/bin/python3\n# Copyright 2"..., 4096) = 715
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "#!/usr/bin/python3\n# Copyright 2"..., 8192) = 715
close(12)                               = 0
write(2, "    return awscli.clidriver.main"..., 35) = 35
write(2, "  File \"/usr/share/awscli/awscli"..., 65) = 65
open("/usr/share/awscli/awscli/clidriver.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=21306, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=21306, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=21306, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2012-2013 Amazon.com"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2012-2013 Amazon.com"..., 8192) = 8192
close(12)                               = 0
write(2, "    return driver.main()\n", 25) = 25
write(2, "  File \"/usr/share/awscli/awscli"..., 66) = 66
open("/usr/share/awscli/awscli/clidriver.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=21306, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=21306, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=21306, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2012-2013 Amazon.com"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2012-2013 Amazon.com"..., 8192) = 8192
close(12)                               = 0
write(2, "    return command_table[parsed_"..., 70) = 70
write(2, "  File \"/usr/share/awscli/awscli"..., 81) = 81
open("/usr/share/awscli/awscli/customizations/s3/s3.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
close(12)                               = 0
write(2, "    remaining, parsed_globals)\n", 31) = 31
write(2, "  File \"/usr/share/awscli/awscli"..., 81) = 81
open("/usr/share/awscli/awscli/customizations/s3/s3.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
read(12, "d_table()\n        del subcommand"..., 8192) = 8192
close(12)                               = 0
write(2, "    return self._do_command(pars"..., 57) = 57
write(2, "  File \"/usr/share/awscli/awscli"..., 84) = 84
open("/usr/share/awscli/awscli/customizations/s3/s3.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
read(12, "d_table()\n        del subcommand"..., 8192) = 8192
close(12)                               = 0
write(2, "    return cmd.run()\n", 21)  = 21
write(2, "  File \"/usr/share/awscli/awscli"..., 76) = 76
open("/usr/share/awscli/awscli/customizations/s3/s3.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=38354, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
read(12, "d_table()\n        del subcommand"..., 8192) = 8192
read(12, "            str(last_mod.second)"..., 8192) = 8192
read(12, "handler': [s3handler]}\n        e"..., 8192) = 8192
close(12)                               = 0
write(2, "    file_list.append(components["..., 51) = 51
write(2, "  File \"/usr/share/awscli/awscli"..., 83) = 83
open("/usr/share/awscli/awscli/customizations/s3/s3handler.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=14335, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=14335, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=14335, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
close(12)                               = 0
write(2, "    self._shutdown()\n", 21)  = 21
write(2, "  File \"/usr/share/awscli/awscli"..., 88) = 88
open("/usr/share/awscli/awscli/customizations/s3/s3handler.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=14335, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=14335, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=14335, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
close(12)                               = 0
write(2, "    self.executer.join()\n", 25) = 25
write(2, "  File \"/usr/share/awscli/awscli"..., 82) = 82
open("/usr/share/awscli/awscli/customizations/s3/executer.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=8437, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=8437, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=8437, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "# Copyright 2013 Amazon.com, Inc"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "# Copyright 2013 Amazon.com, Inc"..., 8192) = 8192
close(12)                               = 0
write(2, "    thread.join()\n", 18)     = 18
write(2, "  File \"/usr/lib/python3.4/threa"..., 61) = 61
open("/usr/lib/python3.4/threading.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=48898, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=48898, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=48898, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "\"\"\"Thread module emulating a sub"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "\"\"\"Thread module emulating a sub"..., 8192) = 8192
read(12, "wned by current_thread.\n        "..., 8192) = 8192
read(12, "r than zero again, wake up that "..., 8192) = 8192
read(12, " an ephemeral result\n        # a"..., 8192) = 8192
read(12, "k.py)\n                    exc_ty"..., 8192) = 8192
close(12)                               = 0
write(2, "    self._wait_for_tstate_lock()"..., 33) = 33
write(2, "  File \"/usr/lib/python3.4/threa"..., 78) = 78
open("/usr/lib/python3.4/threading.py", O_RDONLY|O_CLOEXEC) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=48898, ...}) = 0
ioctl(12, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffd4138cc0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(12, {st_mode=S_IFREG|0644, st_size=48898, ...}) = 0
lseek(12, 0, SEEK_CUR)                  = 0
fcntl(12, F_DUPFD_CLOEXEC, 0)           = 13
fcntl(13, F_GETFL)                      = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(13, {st_mode=S_IFREG|0644, st_size=48898, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f07ad91d000
lseek(13, 0, SEEK_CUR)                  = 0
read(13, "\"\"\"Thread module emulating a sub"..., 4096) = 4096
close(13)                               = 0
munmap(0x7f07ad91d000, 4096)            = 0
lseek(12, 0, SEEK_SET)                  = 0
lseek(12, 0, SEEK_CUR)                  = 0
read(12, "\"\"\"Thread module emulating a sub"..., 8192) = 8192
read(12, "wned by current_thread.\n        "..., 8192) = 8192
read(12, "r than zero again, wake up that "..., 8192) = 8192
read(12, " an ephemeral result\n        # a"..., 8192) = 8192
read(12, "k.py)\n                    exc_ty"..., 8192) = 8192
close(12)                               = 0
write(2, "    elif lock.acquire(block, tim"..., 39) = 39
write(2, "KeyboardInterrupt\n", 18)     = 18
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f07ad4f8340}, {0x429420, [], SA_RESTORER, 0x7f07ad4f8340}, 8) = 0
close(3)                                = 0
exit_group(1)                           = ?
+++ exited with 1 +++

Let me know if I can provide any more detail.

ralph-tice avatar Oct 15 '14 18:10 ralph-tice

I'm going to close this. I had awscli version 1.2.9 running on python3 because of the Ubuntu 14.04 package. I reinstalled with pip and got 1.5.1 and the same binstubs as appear in this repo and throughput appears to have improved and I don't have the same sorts of issues as presented above. I'll reopen (and try to grab stacktraces with gdb+pystack per https://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application ) if it recurs on this combination of awscli+python.

ralph-tice avatar Oct 15 '14 23:10 ralph-tice

Hey Ralph, can you answer this question https://github.com/aws/aws-cli/issues/949. I am asking since you seem to be using aws s3 cp

kashifusmani avatar Oct 16 '14 16:10 kashifusmani