My guess is two daemons running? What is this config file for? memcached uses command line options afaik. This looks to be a client based config file.<br><br><div><span class="gmail_quote">On 5/14/07, <b class="gmail_sendername">
Paul Cowan</b> <<a href="mailto:paul.cowan@twentysixlondon.com">paul.cowan@twentysixlondon.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt;">Hi,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"><br>
I have installed memcached and would appreciate somebody explaining the
following configuration I have found:</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"><</span></font><font color="#a31515" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(163, 21, 21);">
memcache</span></font><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;">></span></font></p>
<p style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"> <</span></font><font color="#a31515" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(163, 21, 21);">
memcached</span></font><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"> </span></font><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; color: red;">host
</span></font><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;">=</span></font><font face="Courier New" size="2"><span style="font-size: 10pt;">"<font color="blue"><span style="color: blue;">
<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a></span></font>"<font color="blue"><span style="color: blue;"> </span></font><font color="red"><span style="color: red;">
port</span></font><font color="blue"><span style="color: blue;">=</span></font>"<font color="blue"><span style="color: blue;">11211</span></font>"<font color="blue"><span style="color: blue;"> </span></font><font color="red">
<span style="color: red;">weight</span></font><font color="blue"><span style="color: blue;">=</span></font>"<font color="blue"><span style="color: blue;">2</span></font>"<font color="blue"><span style="color: blue;">
/></span></font></span></font></p>
<p style=""><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"> <</span></font><font color="#a31515" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(163, 21, 21);">
memcached</span></font><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"> </span></font><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; color: red;">host
</span></font><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;">=</span></font><font face="Courier New" size="2"><span style="font-size: 10pt;">"<font color="blue"><span style="color: blue;">
<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a></span></font>"<font color="blue"><span style="color: blue;"> </span></font><font color="red"><span style="color: red;">
port</span></font><font color="blue"><span style="color: blue;">=</span></font>"<font color="blue"><span style="color: blue;">11212</span></font>"<font color="blue"><span style="color: blue;"> </span></font><font color="red">
<span style="color: red;">weight</span></font><font color="blue"><span style="color: blue;">=</span></font>"<font color="blue"><span style="color: blue;">5</span></font>"<font color="blue"><span style="color: blue;">
/></span></font></span></font></p>
<p><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"></</span></font><font color="#a31515" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(163, 21, 21);">memcache
</span></font><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;">></span></font></p>
<p><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt; color: blue;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;">Could
somebody explain why there are 2 <memcached> elements both pointing to
the same I.P. address but with different ports.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;">Also
what would influence my choice of ports and finally what is the weight attribute
used for?</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;">Thanks</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"><br>
Paul</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p><b><font color="gray" face="Arial" size="4"><span style="font-size: 13.5pt; color: gray; font-weight: bold;" lang="EN-GB">Twentysix<br>
</span></font></b><font color="gray" size="2"><span style="font-size: 10pt; color: gray;" lang="EN-GB">LONDON</span></font><br>
<font color="gray" size="2"><span style="font-size: 10pt; color: gray;" lang="EN-GB">Eldon House<br>
1 Dorset Street, London W1B 4EG<br>
T. +44 (0)20 7535 9800<br>
F. +44 (0)20 7535 9801<br>
<a href="http://www.twentysixlondon.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.twentysixlondon.com</a></span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 11pt;"> </span></font></p>
</div>
<br>
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>
For more information please visit <a href="http://www.messagelabs.com/email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.messagelabs.com/email</a> <br>
______________________________________________________________________<br>
</div>
</blockquote></div><br>