<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That is true. The wiki page for list keys <a href="http://wiki.basho.com/HTTP-List-Keys.html">http://wiki.basho.com/HTTP-List-Keys.html</a> we mention not to use it in production environments and the same holds for list buckets. <div><br></div><div>-Jared</div><div><br></div><div><br><div><div>On Mar 16, 2012, at 1:48 PM, Armon Dadgar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Interesting, so it's not just us. Based on the behavior,<br>I'm guessing that listing the buckets requires traversing the<br>key space?<br><br><br><blockquote type="cite">Message: 2<br></blockquote><blockquote type="cite">Date: Thu, 15 Mar 2012 11:19:15 -0700<br></blockquote><blockquote type="cite">From: Aphyr <<a href="mailto:aphyr@aphyr.com">aphyr@aphyr.com</a>><br></blockquote><blockquote type="cite">To: <a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br></blockquote><blockquote type="cite">Subject: Re: Listing buckets causes nodes to misbehave<br></blockquote><blockquote type="cite">Message-ID: <<a href="mailto:4F6232A3.5050006@aphyr.com">4F6232A3.5050006@aphyr.com</a>><br></blockquote><blockquote type="cite">Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Yup, list-keys and list-buckets does this for us too, since Riak 0.14. <br></blockquote><blockquote type="cite">Bitcask, 6 nodes, physical hardware, 1024 partitions, 100-300 million <br></blockquote><blockquote type="cite">keys with n_val 3.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--Kyle<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 03/15/2012 11:17 AM, Armon Dadgar wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">We are currently running Riak 1.1 in production, using LevelDB<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">with snappy compression and yesterday we ran into a strange<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">issue where listing the buckets via:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">$ curl "<a href="http://east-riak-001:8098/riak?buckets=true">http://east-riak-001:8098/riak?buckets=true</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Doing this caused curl to hang indefinitely, and the target node to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">freak out.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Symptoms included a massive increase in system load (2-3x), FSM timings<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">exploding<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">from ~30-50 msec to 500 - 5000 msec, and most of the APIs becoming<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">totally unresponsive.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">We ran this on a few nodes on the cluster, which basically brought<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">everything to a halt. Our solution was to just reboot all the nodes, at<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">which point things returned to normal.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Curious if anybody else has experienced this.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Best Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Armon Dadgar<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">riak-users mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com">http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com</a><br></blockquote></blockquote><br><br>_______________________________________________<br>riak-users mailing list<br><a href="mailto:riak-users@lists.basho.com">riak-users@lists.basho.com</a><br>http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com<br></div></blockquote></div><br></div></body></html>