add libmemcached;fix ack judgement