Get pid of memcached instance my app is connected to?

Hi all. I'm using memcache-client to connect to memcached in my rails app. I'm having some weirdness on my production server and have several memcached instances running. Is there a way to get the pid of the one that my app is actually connected to?

thanks, max

CACHE.stats[:pid]

m

Marc Byrd wrote:

CACHE.stats[:pid]

m

ah thanks Marc - with my version it's actually CACHE.stats["pid"] but you put me on the right track :slight_smile: cheers!