<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hello,<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
&nbsp;&nbsp; I'm tracking a very vexing issue.&nbsp; Somehow users are creating files that cause attempts to examine or manipulate the files to hang.&nbsp; They can't be removed, they can't be examined, even an ls command will hang.<br>
<br>
an strace on an ls command run against some of these files produced the following:<br>
<div style="box-sizing: border-box; font-family: &quot;Segoe UI&quot;, &quot;Helvetica Neue&quot;, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, Helvetica, Arial, sans-serif; font-size: 14px; orphans: 2; widows: 2">
<p><span>getxattr(&quot;/volatile/halld/home/haoli/RunPeriod-2017-01/analysis/ver36_Mar27/log/030408/stdout.030408_124.out&quot;, &quot;system.posix_acl_default&quot;, NULL, 0) = -1 ENODATA (No data available)</span></p>
<p><span>lstat(&quot;/volatile/halld/home/haoli/RunPeriod-2017-01/analysis/ver36_Mar27/log/030408/stderr.030408_118.err&quot;, {st_mode=S_IFREG|0644, st_size=16979, ...}) = 0</span></p>
<p><span>getxattr(&quot;/volatile/halld/home/haoli/RunPeriod-2017-01/analysis/ver36_Mar27/log/030408/stderr.030408_118.err&quot;, &quot;system.posix_acl_access&quot;, NULL, 0) = -1 ENODATA (No data available)</span></p>
<p><span>getxattr(&quot;/volatile/halld/home/haoli/RunPeriod-2017-01/analysis/ver36_Mar27/log/030408/stderr.030408_118.err&quot;, &quot;system.posix_acl_default&quot;, NULL, 0) = -1 ENODATA (No data available)</span></p>
<p><span>lstat(&quot;/volatile/halld/home/haoli/RunPeriod-2017-01/analysis/ver36_Mar27/log/030408/stdout.030408_000.out&quot;,</span></p>
</div>
<br>
On one client that was being used to debug this problem I see the following (running CentOS 6.5 and luster 2.5.42)<br>
<span>Lustre: 2753:0:(client.c:1920:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1585677903/real 1585677903] &nbsp;req@ffff880238fdd000 x1657754295856608/t0(0) o101-&gt;lustre19-OST0028-osc-ffff88105fecd000@172.17.0.99@o2ib:28/4
 lens 328/400 e 1 to 1 dl 1585678504 ref 1 fl Rpc:X/0/ffffffff rc 0/-1<br>
</span>
<div>Lustre: lustre19-OST0028-osc-ffff88105fecd000: Connection to lustre19-OST0028 (at 172.17.0.99@o2ib) was lost; in progress operations using this service will wait for recovery to complete<br>
</div>
<div>Lustre: lustre19-OST0028-osc-ffff88105fecd000: Connection restored to lustre19-OST0028 (at 172.17.0.99@o2ib)<br>
</div>
<div>Lustre: 2733:0:(client.c:304:ptlrpc_at_adj_net_latency()) Reported service time 465 &gt; total measured time 96<br>
</div>
<div>LustreError: 2733:0:(layout.c:2005:__req_capsule_get()) @@@ Wrong buffer for field `dlm_rep' (1 of 1) in format `LDLM_ENQUEUE_LVB': 0 vs. 112 (server)<br>
</div>
<div>&nbsp; req@ffff8802149c5800 x1657754295862208/t0(0) o101-&gt;lustre19-OST0028-osc-ffff88105fecd000@172.17.0.99@o2ib:28/4 lens 328/192 e 0 to 0 dl 1585679147 ref 1 fl Interpret:R/2/0 rc 0/0<br>
</div>
<span>LustreError: 2733:0:(layout.c:2005:__req_capsule_get()) Skipped 1 previous similar message</span><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
On newer systems (RHEL 7.7 running 2.10.8-1)&nbsp; the problem also occurs and I see the following in dmesg<br>
<span>[5437818.727792] Lustre: lustre19-OST0028-osc-ffff886229244000: Connection restored to 172.17.0.99@o2ib (at 172.17.0.99@o2ib)<br>
</span>
<div>[5438419.769959] Lustre: 2747:0:(client.c:2116:ptlrpc_expire_one_request()) @@@ Request sent has timed out for slow reply: [sent 1585678345/real 1585678345] &nbsp;req@ffff884834ec0600 x1657002677904272/t0(0) o101-&gt;lustre19-OST0028-osc-ffff886229244000@172.17.0.99@o2ib:28/4
 lens 344/400 e 24 to 1 dl 1585678946 ref 1 fl Rpc:X/2/ffffffff rc -11/-1<br>
</div>
<div>[5438419.769973] Lustre: lustre19-OST0028-osc-ffff886229244000: Connection to lustre19-OST0028 (at 172.17.0.99@o2ib) was lost; in progress operations using this service will wait for recovery to complete<br>
</div>
<span>[5438419.770435] Lustre: lustre19-OST0028-osc-ffff886229244000: Connection restored to 172.17.0.99@o2ib (at 172.17.0.99@o2ib)</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
df and lfs df commands on these systems aren't hanging.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
on the OSS we are running: lustre 2.12.1-1 and CentOS 7.6) I'm seeing the following:<br>
<span>[Mar31 14:26] LNet: Service thread pid 309349 was inactive for 1121.43s. The thread might be hung, or it might only be slow and will resume later. Dumping the stack trace for debugging purposes:<br>
</span>
<div>[ &nbsp;&#43;0.000007] Pid: 309349, comm: ll_ost00_088 3.10.0-957.10.1.el7_lustre.x86_64 #1 SMP Tue Apr 30 22:18:15 UTC 2019<br>
</div>
<div>[ &nbsp;&#43;0.000002] Call Trace:<br>
</div>
<div>[ &nbsp;&#43;0.000014] &nbsp;[&lt;ffffffffc130d560&gt;] ptlrpc_set_wait&#43;0x500/0x8d0 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000074] &nbsp;[&lt;ffffffffc12cafe5&gt;] ldlm_run_ast_work&#43;0xd5/0x3a0 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000039] &nbsp;[&lt;ffffffffc12ec54b&gt;] ldlm_glimpse_locks&#43;0x3b/0x100 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000045] &nbsp;[&lt;ffffffffc16a63fb&gt;] ofd_intent_policy&#43;0x69b/0x920 [ofd]<br>
</div>
<div>[ &nbsp;&#43;0.000015] &nbsp;[&lt;ffffffffc12cbd26&gt;] ldlm_lock_enqueue&#43;0x366/0xa60 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000038] &nbsp;[&lt;ffffffffc12f4587&gt;] ldlm_handle_enqueue0&#43;0xa47/0x15a0 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000046] &nbsp;[&lt;ffffffffc137c502&gt;] tgt_enqueue&#43;0x62/0x210 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000072] &nbsp;[&lt;ffffffffc1380e5a&gt;] tgt_request_handle&#43;0xaea/0x1580 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000065] &nbsp;[&lt;ffffffffc132680b&gt;] ptlrpc_server_handle_request&#43;0x24b/0xab0 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000056] &nbsp;[&lt;ffffffffc132a13c&gt;] ptlrpc_main&#43;0xafc/0x1fc0 [ptlrpc]<br>
</div>
<div>[ &nbsp;&#43;0.000054] &nbsp;[&lt;ffffffff8dac1c71&gt;] kthread&#43;0xd1/0xe0<br>
</div>
<div>[ &nbsp;&#43;0.000007] &nbsp;[&lt;ffffffff8e175c1d&gt;] ret_from_fork_nospec_begin&#43;0x7/0x21<br>
</div>
<div>[ &nbsp;&#43;0.000009] &nbsp;[&lt;ffffffffffffffff&gt;] 0xffffffffffffffff<br>
</div>
<span>[ &nbsp;&#43;0.000036] LustreError: dumping log to /tmp/lustre-log.1585679216.309349</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you,<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif;">
<p style="margin-top: 0px; margin-bottom: 0px;margin-top:0; margin-bottom:0"><span id="ms-rterangepaste-start"></span><span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 14.16px;">Kurt J. Strosahl</span><br style="color: rgb(51, 51, 51); font-family: monospace; font-size: 14.16px;">
<span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 14.16px;">System Administrator: Lustre, HPC</span><br style="color: rgb(51, 51, 51); font-family: monospace; font-size: 14.16px;">
<span style="color: rgb(51, 51, 51); font-family: monospace; font-size: 14.16px;">Scientific Computing Group, Thomas Jefferson National Accelerator Facility</span><span id="ms-rterangepaste-end"></span><br>
</p>
</div>
</div>
</div>
</body>
</html>