Hello
for the one that are experiencing problems with Memcached, I've followed the instructions on MDL-53947 and it worked well.
It is an incompatibility from the memcached php extension. On Ubuntu 16.04 the available lib was out-of-date. Using the latest version from the github repository fixed the error.