Hello everyone on the list,

I run a test cluster for RiakCS, running on three nodes, mostly using defaults.
Mostly meaning that all modifications were necessary to make RiakCS run, but no 
tweaks have taken place yet.

Now after figuring out how to make objects publicly available we tried to 
download it again, but we saw a strange behavior:
* downloading from the frist node stopped at exactly 3MB, i.e. 3145728 bytes
* downloading from the second node stopped at exactly 22MB
* downloading from the third node stopped at exactly 16MB
* downloading from the first node using s3cmd stopped at exactly 2MB
* downloading from the first node using wget stopped several times precisely on 
MB boundaries, but continued afterwards until the download was complete
All halts are abrupt, a 2Mb download slows down to 0b in an instant.
The first two cases were exactly the same for a friend of mine, the remaining 
were only tested by myself.

If you want to test that for yourself, the file can be found at 
http://85.10.193.103:6080$x/xyz/spying_nsa.webm, where $x is the number of the 
node.

When I first uploaded the file, I interupted c3cmd (Crtl-C) because I had 
forgotten to allow it to be read publicly, and then reuploaded it.
However, I uploaded the file again to another bucket, available at at 
.../abc/sn.webm, and it shows the same behavior.
The number might be different, but the third node is unresponsive as well.
Naturally I had checked if the processes are still up, and "riak-admin 
member-status", and did not find any peculiarities.

I read in the docs about the "enable_multipart" setting in .s3cfg, but mine is 
"False" and uploading a file of 25MB worked nicely.
(See 
http://docs.basho.com/riakcs/latest/cookbooks/configuration/Configuring-an-S3-Client/)
My .s3cfg was generated by s3cmd and the only modified settings are those for 
login and proxy settings.
For reference, the file, redacted only to remove credentials, can be found as 
an attachment to this mail.

Now what could I have done wrong?
I had several configuration errors in the /etc/riak-cs/app.configs of the 
cluster, fixed them, and restarted riak-cs, but the problem persists.
Could it be a setting in .s3cfg?
What about ulimit? It is still defaulting to 1024, but this is a cluster 
storing a mere 500MB or so, and less than 30 files, serving a few objects per 
hour.
I mean, what would that number look like on a production cluster if 1024 is too 
little for such low-profile testing?
For the same reason, I am sure that IO is not the problem - my 2Mb ADSL will be 
the bottleneck, and 50kb upload even more so.

I have another problem that might or might not be related, and is described 
much easier:
s3cmd ls s3://abc
WARNING: Retrying failed request: /?delimiter=/ ('')
WARNING: Waiting 3 sec...
WARNING: Retrying failed request: /?delimiter=/ ('')
WARNING: Waiting 6 sec...
^CSee ya!
Happens when I try to list objects of a non-empty bucket. Any ideas on that one?

One remaining question:
root@riak3:~# riak-admin diag
...
["sh: 1: exec: sysctl: not found"],
...
root@riak3:~#
I know how this message comes about:
sysctl lives under /sbin, which is not in $PATH for any user except root.
Should I care? What is the best way to fix that? I can think of a few.

Platform information:
Three instances of KVM, running Debian 7 (Squeeze), each connected to the KVM 
host using routed TAP devices
Erlang: Version: 1:15.b.1-dfsg-4 (R15B01 is needed to compile Riak, so this 
looks fine for me)
Prebuilt riak and riak-cs packages built for Debian 6 (Squeeze)
To meet dependencies, libssl0.9.8 from Squeeze was installed using dpkg -i
(Wheezy "only" has libssl1.0.0, which does not satisfy said dependency.)

Big thanks to anyone who has a look at my problems.
Any help is highly appreciated and I will gladly provide any information that I 
failed to provide in the first place.
-- 
Greetings, Martin Alpers
--
martin-alp...@web.de
Mobile: 0176/66185173, but I prefer typing to talking (:
Jabber: martin.alp...@jabber.org
My mails are signed using GPG to verify their origin; request my public key 
(10216CFB).
See also: http://apps.opendatacity.de/stasi-vs-nsa/
[default]
bucket_location = DE
cloudfront_host = cloudfront.amazonaws.com
default_mime_type = binary/octet-stream
delete_removed = False
dry_run = False
enable_multipart = False
encoding = UTF-8
encrypt = False
follow_symlinks = False
force = False
get_continue = False
gpg_command = /usr/bin/gpg
gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes 
--passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes 
--passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_passphrase = 
guess_mime_type = True
host_base = s3.amazonaws.com
host_bucket = %(bucket)s.s3.amazonaws.com
human_readable_sizes = False
invalidate_on_cf = False
list_md5 = False
log_target_prefix = 
mime_type = 
multipart_chunk_size_mb = 15
preserve_attrs = True
progress_meter = True
proxy_host = 85.10.193.103
proxy_port = 60801
recursive = False
recv_chunk = 4096
reduced_redundancy = False
send_chunk = 4096
simpledb_host = sdb.amazonaws.com
skip_existing = False
socket_timeout = 300
urlencoding_mode = normal
use_https = False
verbosity = WARNING
website_endpoint = http://%(bucket)s.s3-website-%(location)s.amazonaws.com/
website_error = 
website_index = index.html

Attachment: signature.asc
Description: Digital signature

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to