[Labs-l] memcached is broken

Dan Achim akim.dan at gmail.com
Mon Feb 20 18:54:13 UTC 2012


OK, I was thinking of just adding the listen address to the class as a
configurable parameter. Then I checked the actual class itself and I see
that it is already using that and defaulting to "0.0.0.0":

class memcached ($memcached_size = '2000', $memcached_port = '11000',
$memcached_ip = '0.0.0.0')

So Petr, can you check what's the value of $memcached_ip for your
instances? You can just delete any value there and it will default to
"0.0.0.0".

Cheers,
Dan

On Mon, Feb 20, 2012 at 4:05 PM, Platonides <platonides at gmail.com> wrote:

> On 20/02/12 12:04, Dan Achim wrote:
> > I can take a look at it tonight, but are you sure this should be the
> > case? Maybe listening on localhost was a design choice. Maybe security
> > related or to make sure we keep things consistent.
> >
> > Can someone confirm that this is ok to do? What is the
> > expected behavior of the memcached servers?
>
> A memcached server just provides a memcache instance to other servers
> (you could then distribute the keys among them). So it should listen to
> connections from other hosts.
>
> Although if it's intalled on just one server for itself, it could be
> desired to run it on localhost (as in marmontel, the host serving
> blog.wikimedia.org).
>



-- 
Dan Achim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20120220/5fb6f5cf/attachment.html>


More information about the Labs-l mailing list