<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LockCount rising until storepool says goodbye in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/LockCount-rising-until-storepool-says-goodbye/m-p/464815#M10212</link>
    <description>&lt;P&gt;This tends to be a pretty common issue, as evidenced by the number of KB articles we have around it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one covers why a client might cause this problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/What_are_the_NFSv4_Storepools_why_do_they_exist" target="_blank"&gt;https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/What_are_the_NFSv4_Storepools_why_do_they_exist&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can specific clients potentially cause problems?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In certain circumstances, clients do not close their OPENs in a way that the ONTAP&amp;nbsp;node&amp;nbsp;is expecting.&lt;/LI&gt;&lt;LI&gt;When this occurs, the client&amp;nbsp;is unaware&amp;nbsp;that it still has that OPEN allocated.&lt;/LI&gt;&lt;LI&gt;In this case, the server will not remove the OpenState object and the resource&amp;nbsp;is never returned to the pool.&lt;/LI&gt;&lt;LI&gt;If this behavior continues, storePool exhaustion can occur as the client behavior orphans resources on the server.&lt;/LI&gt;&lt;LI&gt;Dumping nfsv4 locks can show which&amp;nbsp;client is taking up all of the allocations in the storePool.&lt;/LI&gt;&lt;LI&gt;Once this client is restarted, ONTAP&amp;nbsp;frees&amp;nbsp;associated storePool&amp;nbsp;resources associated with that client.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This one talks about how to troubleshoot/identify the offending client:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/How_to_identify_problematic_NFSv4_clients_consuming_storepool_resources" target="_blank"&gt;https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/How_to_identify_problematic_NFSv4_clients_consuming_storepool_resources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one consolidates all the different links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/NFSv4_Storepool" target="_blank"&gt;https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/NFSv4_Storepool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, it's probably a client issue, but I would use the above information to gather data and verify. Then maybe see if restarting the client makes the issue go away. After that, you have ample evidence to convince your group to upgrade the clients. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Dec 2025 15:19:11 GMT</pubDate>
    <dc:creator>parisi</dc:creator>
    <dc:date>2025-12-15T15:19:11Z</dc:date>
    <item>
      <title>LockCount rising until storepool says goodbye</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/LockCount-rising-until-storepool-says-goodbye/m-p/464810#M10211</link>
      <description>&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a strange issue and i cant get rid of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OKD-Cluster (&lt;SPAN&gt;4.20.0-okd-scos.12)&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;NetApp OTS (NetApp Release 9.17.1P2) with dedicated SVM for the OKD Cluster&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Trident, installed via Operator. Version:&amp;nbsp;25.6.2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ActiveMQ-Artemis Cluster, installed via Operator (Red Hat Integration - AMQ Broker for RHEL 9. Version:&amp;nbsp;7.13.2-opr-1+0.1761129569.p) using Trident-PVC for data&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ActiveMQ starts normally and is operating as expected but the "LockCount" and "OwnerCount" is rising steadily while all other counters stay low.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;otscl::*&amp;gt; nfs storepool show -vserver mysvm

Node: otscl1
Vserver: mysvm
Data-Ip: 192.168.1.66

Client-Ip Protocol IsTrunked OwnerCount OpenCount DelegCount LockCount
-------------- --------- --------- ---------- ---------- ---------- ---------
192.168.1.67 nfs4.2 false 0 0 0 0
192.168.1.68 nfs4.2 false 26099 23 0 26099&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the Lock/OwnerCount hits ~131k, the following error appears:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;otscl1 EMERGENCY Nblade.nfsV4PoolExhaust: NFS Store Pool for Owner exhausted. Associated object type is CLUSTER_NODE with UUID: XXXXXXXXXXXXXXXX.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;From now on, all NFS4-Shares on the OTS-Cluster (all SVMs) cant be accessed anymore until we restart ActiveMQ which resets the counters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also checked the locks in detail. See:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;locks show -vserver mysvm
  (vserver locks show)

Notice: Using this command can impact system performance. It is recommended
that you specify both the vserver and the volume when issuing this command to
minimize the scope of the command's operation. To abort the command, press Ctrl-C.

Vserver: mysvm
Volume   Object Path               LIF         Protocol  Lock Type   Client
-------- ------------------------- ----------- --------- ----------- ----------
trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/server.lock
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.66
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/serverlock.1
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.66
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/serverlock.2
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.66
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/bindings/activemq-bindings-1.bindings
                                   mysvm_lif
                                               nfsv4.1   delegation  192.168.1.66
                Delegation Type: write
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/bindings/activemq-bindings-2.bindings
                                   mysvm_lif
                                               nfsv4.1   delegation  192.168.1.66
                Delegation Type: write
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/activemq-data-1.amq
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.66
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/activemq-data-2.amq
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.66
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/server.lock
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.67
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/serverlock.1
                                   mysvm_lif
                                               nfsv4.1   byte-range  192.168.1.66
                Bytelock Offset(Length): 0 (18446744073709551615)
                                                         share-level 192.168.1.67
                Sharelock Mode: read_write-deny_none
         /trident_pvc_1e201be0_e6d6_4ab2_8270_579061df7f89/journal/serverlock.2
                                   mysvm_lif
                                               nfsv4.1   share-level 192.168.1.67
                Sharelock Mode: read_write-deny_none
trident_pvc_52530de0_c35d_4a2b_a133_d84b9ef2b9b7
         /trident_pvc_52530de0_c35d_4a2b_a133_d84b9ef2b9b7/.healthcheck
                                   mysvm_lif
                                               nfsv4.1   delegation  192.168.1.67
                Delegation Type: write
15 entries were displayed.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running the AMQ-Operator and Trident on OpenShift (instead OKD), the counters will stay low, so i thought this could be a kernel or OS issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OKD:&amp;nbsp;6.12.0-142.el10.x86_64 #1 SMP PREEMPT_DYNAMIC&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;OpenShift:&amp;nbsp;5.14.0-427.97.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I installed CentOS Stream 10 (Kernel:&amp;nbsp;6.12.0-170) which is the OS for OKD and set the same kernel-params as in the cluster,&lt;/P&gt;&lt;P&gt;mounted the trident-share (copied mount-options from okd-node) and deployed AMQ-Artemis using the same config. The counters stay low.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While my research, i stumbled across the following comments:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;By Chris at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;2025-03-04 17:05:36:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;&lt;P&gt;A not so long while ago I managed to crash a NetApp filer by upgrading a Linux host to an early 6.x kernel and connecting with new NFSv4 features. Seems like its early for all implementors &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;By Benjamin Coddington at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;2025-10-08 14:42:11:&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;&lt;P&gt;Just ran across this post and thought it worth mentioning that as of v6.17 there have been over 1k patches to the in-kernel linux NFS client since v5.15 and 2021.&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://utcc.utoronto.ca/~cks/space/blog/linux/NFSv4KernelStateNotImpressed?showcomments" target="_blank" rel="noopener"&gt;https://utcc.utoronto.ca/~cks/space/blog/linux/NFSv4KernelStateNotImpressed?showcomments&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any hints, tweaks or ideas how i could further investigate this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already installed a nfs4-server on linux which runs without any problems, so my devs already think abour replacing our OTS-Cluster &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 12:18:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/LockCount-rising-until-storepool-says-goodbye/m-p/464810#M10211</guid>
      <dc:creator>Printus-Admins</dc:creator>
      <dc:date>2025-12-15T12:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: LockCount rising until storepool says goodbye</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/LockCount-rising-until-storepool-says-goodbye/m-p/464815#M10212</link>
      <description>&lt;P&gt;This tends to be a pretty common issue, as evidenced by the number of KB articles we have around it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one covers why a client might cause this problem:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/What_are_the_NFSv4_Storepools_why_do_they_exist" target="_blank"&gt;https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/What_are_the_NFSv4_Storepools_why_do_they_exist&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can specific clients potentially cause problems?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In certain circumstances, clients do not close their OPENs in a way that the ONTAP&amp;nbsp;node&amp;nbsp;is expecting.&lt;/LI&gt;&lt;LI&gt;When this occurs, the client&amp;nbsp;is unaware&amp;nbsp;that it still has that OPEN allocated.&lt;/LI&gt;&lt;LI&gt;In this case, the server will not remove the OpenState object and the resource&amp;nbsp;is never returned to the pool.&lt;/LI&gt;&lt;LI&gt;If this behavior continues, storePool exhaustion can occur as the client behavior orphans resources on the server.&lt;/LI&gt;&lt;LI&gt;Dumping nfsv4 locks can show which&amp;nbsp;client is taking up all of the allocations in the storePool.&lt;/LI&gt;&lt;LI&gt;Once this client is restarted, ONTAP&amp;nbsp;frees&amp;nbsp;associated storePool&amp;nbsp;resources associated with that client.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This one talks about how to troubleshoot/identify the offending client:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/How_to_identify_problematic_NFSv4_clients_consuming_storepool_resources" target="_blank"&gt;https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/How_to_identify_problematic_NFSv4_clients_consuming_storepool_resources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one consolidates all the different links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/NFSv4_Storepool" target="_blank"&gt;https://kb.netapp.com/on-prem/ontap/da/NAS/NAS-KBs/NFSv4_Storepool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, it's probably a client issue, but I would use the above information to gather data and verify. Then maybe see if restarting the client makes the issue go away. After that, you have ample evidence to convince your group to upgrade the clients. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 15:19:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/LockCount-rising-until-storepool-says-goodbye/m-p/464815#M10212</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2025-12-15T15:19:11Z</dc:date>
    </item>
  </channel>
</rss>

