memcached debugging and tweaks