<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>After waiting about 20 minutes, i get the following output:</div>

<div>echo &quot;locate &lt;W00000000000000015909850d471ca3&gt;&quot;&nbsp; &#124; debugfs.ocfs2 /dev/sdb<br/>
debugfs.ocfs2 1.8.6<br/>
debugfs: locate &lt;W00000000000000015909850d471ca3&gt;<br/>
&nbsp;&nbsp; &nbsp;22612357&nbsp;&nbsp; &nbsp;//orphan_dir:0002/0000000001590985/</div>

<div>&nbsp;</div>

<div>Why are deleted files are locked?</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Mittwoch, 19. April 2017 um 09:43 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Thomas Manninger&quot; &lt;DBGTMaster@gmx.at&gt;<br/>
<b>An:</b>&nbsp;ocfs2-users@oss.oracle.com<br/>
<b>Betreff:</b>&nbsp;[Ocfs2-users] kworker high disk io</div>

<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>

<div>&nbsp;</div>

<div>i have a problem with my ocfs2 cluster filesystem. I have 3 nodes, running with CentOS 7.</div>

<div>&nbsp;</div>

<div>The cluster runs since 1 year without problems. Last week, one colleague deletes about 100.000 files on the Filesystem with &quot;rm *&quot; in some folders.</div>

<div>Since that, the kworker io is about -50-80% usage (iotop), also iostat have the same value.</div>

<div>&nbsp;</div>

<div>If i list all &quot;fs_locks&quot;, i get about 190.000 entries:</div>

<div>echo &quot;fs_locks&quot;&nbsp; &#124; debugfs.ocfs2 -n /dev/sdb &#124; grep &quot;Lockres&quot; &#124; wc -l</div>

<div>&nbsp;</div>

<div>That are too many locks?</div>

<div>&nbsp;</div>

<div>As example, i get the following output:</div>

<div>
<div>Lockres: M00000000000000062e723300000000&nbsp; Mode: Exclusive<br/>
Flags: Initialized Attached<br/>
RO Holders: 0&nbsp; EX Holders: 0<br/>
Pending Action: None&nbsp; Pending Unlock Action: None<br/>
Requested Mode: Exclusive&nbsp; Blocking Mode: Invalid<br/>
PR &gt; Gets: 16&nbsp; Fails: 0&nbsp;&nbsp;&nbsp; Waits Total: 657us&nbsp; Max: 654us&nbsp; Avg: 41072ns<br/>
EX &gt; Gets: 2&nbsp; Fails: 0&nbsp;&nbsp;&nbsp; Waits Total: 322us&nbsp; Max: 322us&nbsp; Avg: 161398ns<br/>
Disk Refreshes: 0</div>

<div>&nbsp;</div>

<div>If i try to get the filename, the command hangs and i never get some output:</div>

<div>echo &quot;locate &lt;M00000000000000062e723300000000&gt;&quot;&nbsp; &#124; debugfs.ocfs2 -n /dev/sdb</div>

<div>&nbsp;</div>

<div>How can i solve this problem?</div>

<div>&nbsp;</div>

<div>Best regards,</div>

<div>Thomas Manninger</div>
</div>
</div>
_______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com <a href="https://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">https://oss.oracle.com/mailman/listinfo/ocfs2-users</a></div>
</div>
</div>
</div></div></body></html>