Hi,

I fired up a bunch of ec2 instances doing some work that requires
s3cmd. One of these instances is hanging, because s3cmd appears to be
hanging in an infinite recv() loop while trying to get a file.

The command is simply: s3cmd -c /path/to/config get
s3://<bucketname>/object /path/to/object

It's chewing away at 100% cpu, and strace -p <pid> shows this:
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0
recv(5, "", 4096, 0)                    = 0

This is s3cmd as downloaded from this URL:

http://sourceforge.net/projects/s3tools/files/s3cmd/0.9.9.91/s3cmd-0.9.9.91.tar.gz/download

I realise this isn't the latest version from subversion, but then
again, I haven't seen this before, and I use s3cmd quite a lot, so I'm
assuming that this won't be easy to reproduce. Maybe some undetected
error? Only 99405824 bytes (~95GB) have been downloaded, while the
file in question is 453266685 (~432MB).

Cheers, Ketil

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to