Re: [ceph-users] Crush, data placement and randomness

2018-12-06 Thread Leon Robinson
The most important thing to remember about CRUSH is that the H stands for hashing. If you hash the same object you're going to get the same result. e.g. cat /etc/fstab | md5sum is always the same output, unless you change the file contents. CRUSH uses the number of osds and the object and the

[ceph-users] civitweb segfaults

2018-12-11 Thread Leon Robinson
Hello, I have found a surefire way to bring down our swift gateways. First, upload a bunch of large files and split it in to segments, e.g. for i in {1..100}; do swift upload test_container -S 10485760 CentOS-7-x86_64-GenericCloud.qcow2 --object-name CentOS-7-x86_64-GenericCloud.qcow2-$i; done

Re: [ceph-users] civitweb segfaults

2018-12-12 Thread Leon Robinson
nning with a non-default value of rgw_gc_max_objs? I was able to reproduce this exact stack trace by setting rgw_gc_max_objs = 0; I can't think of any other way to get a 'Floating point exception' here. On 12/11/18 10:31 AM, Leon Robinson wrote: Hello, I have found a surefire way to