it does look like there are some fundamental config issues causing problems. After I posted I spun up a clean VPS and installed openresty with memc support in about 15 minutes so can confirm my problem its somehow related to updating my primary machine setup.
Thanks for your pointers and info, your documentation and contribution to nginx is awesome Agentzh.