I recently learned a nice way to bump maxfiles on Mac OS X. This works for me on Yosemite.
#!/usr/bin/env bash MAXFILES=$(launchctl limit maxfiles | sed -e 's/[[:space:]]+/ /g' | xargs) if [ "$MAXFILES" != "maxfiles 65536 65536" ]; then set -x sudo launchctl limit maxfiles 65536 65536 fi set -x ulimit -n 65536 riak start I save the file to ~/bin/start-riak and use it instead of `riak start`. Gist here: https://gist.github.com/xpe/9d14db8884bcf67f9388
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com