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":<div><br></div>
<div>class memcached ($memcached_size = '2000', $memcached_port = '11000', $memcached_ip = '0.0.0.0')</div><div><br></div><div>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".</div>
<div><br></div><div>Cheers,</div><div>Dan</div><div><br><div class="gmail_quote">On Mon, Feb 20, 2012 at 4:05 PM, Platonides <span dir="ltr"><<a href="mailto:platonides@gmail.com">platonides@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 20/02/12 12:04, Dan Achim wrote:<br>
> I can take a look at it tonight, but are you sure this should be the<br>
> case? Maybe listening on localhost was a design choice. Maybe security<br>
> related or to make sure we keep things consistent.<br>
><br>
> Can someone confirm that this is ok to do? What is the<br>
> expected behavior of the memcached servers?<br>
<br>
</div>A memcached server just provides a memcache instance to other servers<br>
(you could then distribute the keys among them). So it should listen to<br>
connections from other hosts.<br>
<br>
Although if it's intalled on just one server for itself, it could be<br>
desired to run it on localhost (as in marmontel, the host serving<br>
<a href="http://blog.wikimedia.org" target="_blank">blog.wikimedia.org</a>).<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Dan Achim<br>
</div>