<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I am using Memcached server version 1.2.2.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Also, I have 4 memcached servers setup. I
am using PHP memcache client&#8217;s addServer method to connect to the servers.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I read in the addServer documentation that
the third parameter/flag (persistent) is by default set to TRUE.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Does this cause this issue?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Please let me know.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ajinkya<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Lessaid
ABDERRAHMAN [mailto:lessaid@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, September 20, 2007
2:12 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Ajinkya Nahar<br>
<b><span style='font-weight:bold'>Cc:</span></b> memcached@lists.danga.com;
Nishith Shah; Sunil<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Memcache keys are not
getting deleted properly!</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi<br>
<br>
In my personal experience on php/memcached :<br>
<br>
It happen when your memcached server is down or unreachible.<br>
It fail because your memcached object doesn't exist (I guess it's related with
Memcache::pconnect()).<br>
<br>
Use try/catch on your code, and tcpdump and telnet on memcached server to
debug.<br>
<br>
my 0.02euro<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 9/19/07, <b><span style='font-weight:bold'>Ajinkya
Nahar</span></b> &lt;<a href="mailto:ajinkya@truesparrow.com">ajinkya@truesparrow.com</a>&gt;
wrote:</span></font></span><o:p></o:p></p>

<span style='-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial;background-attachment:scroll;
background-position-x:0%;background-position-y:50%'>

<div link=blue vlink=purple>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt;
background:#FFFFCC'>Hi all,</span></span><o:p></o:p></font></p>

<p><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC'>&nbsp;</span></span><o:p></o:p></font></p>

<p><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC'>&nbsp;I am using
memcached for caching purpose. Everything was working fine but suddenly, I
started getting the following error -</span></span><o:p></o:p></font></p>

<p><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC'>&nbsp;</span></span><o:p></o:p></font></p>

<p><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC'>Memcache keys are not
getting deleted properly due to the following error &#8211; </span></span><o:p></o:p></font></p>

<p><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC'>&nbsp;</span></span><o:p></o:p></font></p>

<p><b><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC;font-weight:bold'>PHP
Warning: Memcache::delete() [<a
href="http://whiteboard.updatelog.com/projects/1360384/function.Memcache-delete"
target="_blank"><font color=black><span style='color:windowtext'>
function.Memcache-delete</span></font></a>]: cannot find connection identifier</span></span></font></b><o:p></o:p></p>

<p><b><font size=3 face="Times New Roman"><span style='-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
background-attachment:scroll;background-position-x:0%;background-position-y:
50%'><span style='font-size:12.0pt;background:#FFFFCC;font-weight:bold'>&nbsp;</span></span></font></b><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>What
can be the cause due to which this error occurs?</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Also,
please tell me how to fix it.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks
in advance,</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Regards,</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Ajinkya</span></font><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Lessaid, Since 1980 <o:p></o:p></span></font></p>

</div>

</body>

</html>