<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=us-ascii" http-equiv="Content-Type">

<STYLE>a.commercial:link {color: #ff6600}     /* unvisited link */a.commercial:visited {color: #ff6600}  /* visited link */a.commercial:hover {color: #ff6600}   /* mouse over link */a.commercial:active {color: #ff6600}   /* selected link */</STYLE>

<meta content="text/html; charset=us-ascii" http-equiv="Content-Type">
<meta content="Microsoft Word 12 (filtered medium)" name="Generator">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head><BODY><FONT FACE="Verdana" SIZE="1">
<font color="Gray" face="Arial" size="1"></font><br>
<div>
<div class="Section1">
<p class="MsoNormal"><span style="color:#1F497D">It&#8217;s getting worse and worse. Upgraded to 3.0.2 but to no avail.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The prog_index.m3u8 files are being rewritten every 10 seconds. Every other read of a newly written index-file results in -1 and the file not being available, possibly until the next update of the file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The strange thing is that until a few days ago this problem wasn&#8217;t noticeable at all, and now is huge. The only difference is the quickly growing number of files on the filesystem, now around 190k files.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Fredrik Widlund<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
</FONT> 
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" STYLE="BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD><FONT FACE="Verdana" SIZE="1"><IMG ALIGN="baseline" ALT BORDER="0" HSPACE="0" SRC="cid:imageaa8012.png@ec549ff3.741049af">&nbsp; &nbsp;</FONT></TD>
<TD><FONT FACE="Verdana"><FONT SIZE="1"><FONT COLOR="#000000"><STRONG><FONT COLOR="#ff6600">Fredrik Widlund</FONT></STRONG>, CSO / Chief Architect</FONT><BR></FONT></FONT><FONT FACE="Verdana"><FONT SIZE="1"><FONT COLOR="#000000">Direct: +46 8 459 90 32<BR></FONT><BR><FONT COLOR="#000000">S&#246;dra Hamnv&#228;gen 22 | 115 41 STOCKHOLM</FONT><BR></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Verdana"><FONT SIZE="1"><STRONG>Web and mobile: <A HREF="http://www.qbrick.com/"><FONT COLOR="#000000">www.qbrick.com</FONT></A></STRONG></FONT></FONT></FONT></TD></TR></TBODY></TABLE><BR><FONT COLOR="#0000ff" FACE="Verdana" SIZE="1"><STRONG><A HREF="http://www.qbrick.com/saukintro">L&#228;skigt att prata framf&#246;r kameran? Stefan Sauk har l&#246;sningen.</A></STRONG></FONT><BR><BR>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> gluster-devel-bounces&#43;fredrik.widlund=qbrick.com@nongnu.org [mailto:gluster-devel-bounces&#43;fredrik.widlund=qbrick.com@nongnu.org]
<b>On Behalf Of </b>Fredrik Widlund<br>
<b>Sent:</b> den 8 februari 2010 15:02<br>
<b>To:</b> gluster-devel@nongnu.org<br>
<b>Subject:</b> [Gluster-devel] LOOKUP conflict =&gt; OPEN fails_<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m running a simple AFR setup, thouch currently with only one backend, and 2 tcp clients. Version is 3.0.0 from jan 20.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Basically one client is writing a large number of files, continuously, and the other client is reading.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have a growing problem with lookup &#8220;conflicts&#8221;, resulting in files being listed in directories but where reads are returning &#8220;-1 (No such file&#8230;&#8221;.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Restarting the client does not solve the conflict, but restarting the server does and the files becomes available again.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The filesystem is a 5TB XFS hw raid-5 with around 150k files.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Debug trace of client:<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:29] N [trace.c:148:trace_open_cbk] replicated: 3073: (op_ret=0, op_errno=117, *fd=0x129a430)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:37] N [trace.c:1837:trace_open] replicated: 3094: (loc {path=/download/90910/live/webb1/webb1/Layer3/prog_index.m3u8, ino=5042185}, flags=32768, fd=0x1296fc0, wbflags=0)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:37] N [trace.c:148:trace_open_cbk] replicated: 3094: (op_ret=-1, op_errno=2, *fd=0x1296fc0)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:37] W [fuse-bridge.c:858:fuse_fd_cbk] glusterfs-fuse: 3094: OPEN() /download/90910/live/webb1/webb1/Layer3/prog_index.m3u8 =&gt; -1 (No such file or directory)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:38] N [trace.c:1837:trace_open] replicated: 3100: (loc {path=/download/90910/live/webb1/webb1/Layer4/prog_index.m3u8, ino=5013773}, flags=32768, fd=0x1296fc0, wbflags=0)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:38] N [trace.c:148:trace_open_cbk] replicated: 3100: (op_ret=0, op_errno=117, *fd=0x1296fc0)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:38] N [trace.c:1837:trace_open] replicated: 3106: (loc {path=/download/90910/live/webb1/webb1/Layer4/Period1/segment277.ts, ino=5050371}, flags=32768, fd=0x129a430, wbflags=0)<o:p></o:p></p>
<p class="MsoNormal">[&#8230;]<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">And server:<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:09] D [dict.c:303:dict_get] dict: @this=(nil) @key=0x7fedee4e43f3<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:09] D [dict.c:303:dict_get] dict: @this=(nil) @key=0x7fedee4e440b<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:17] D [server-protocol.c:2037:server_open_cbk] server: 1719: OPEN (null) (0) ==&gt; -1 (No such file or directory)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:18] D [server-protocol.c:2037:server_open_cbk] server: 1724: OPEN (null) (0) ==&gt; -1 (No such file or directory)<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:28] D [server-resolve.c:238:resolve_path_deep] store0: RESOLVE OPEN() seeking deep resolution of /download/90910/live/webb1/webb1/Layer3/prog_index.m3u8<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:28] D [dict.c:303:dict_get] dict: @this=(nil) @key=0x7fedee4e43db<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:28] D [dict.c:303:dict_get] dict: @this=(nil) @key=0x7fedee4e43f3<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:28] D [dict.c:303:dict_get] dict: @this=(nil) @key=0x7fedee4e440b<o:p></o:p></p>
<p class="MsoNormal">[2010-02-08 13:39:28] D [dict.c:303:dict_get] dict: @this=(nil) @key=0x7fedee4e43db<o:p></o:p></p>
<p class="MsoNormal">[&#8230;]<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Kind regards,<o:p></o:p></p>
<p class="MsoNormal">Fredrik Widlund<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</BODY></HTML>