> We have a very busy high traffic site and recently started using memached to 
> store frequently accessed queries.  We put memcached on each
> php application server so that the connection is local to the system.
> Today, during one of our peek times, we started getting this error and had to 
> disable the caching of queries:
>
> [20-Oct-2010 12:05:57] PHP Warning: Memcache::connect() [<a 
> href='memcache.connect'>memcache.connect</a>]: Can't connect to
> 127.0.0.1:11211, Cannot assign requested address (99) 

You're probably running out of local ports. Google for that phrase and
you'll probably find help :)

Just as a side note; you're meant to set up memcached as a big cluster and
use all the cache space, as noted at http://memcached.org/about - sticking
them all to localhost only defeats half the purpose. yes I know that
"localhost is faster" but it's more than adequate over the network.

-Dormando

Reply via email to