<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:31:04 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-3112] Cannot get stats from MDS and OSS after enable ptlrpc module parameter suppress_pings</title>
                <link>https://jira.whamcloud.com/browse/LU-3112</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After enable ptlrpc module parameter suppress_pings, cannot get stats from MDS or OSS. If the suppress_pings is disabled, it works fine.&lt;/p&gt;

&lt;p&gt;MDS:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@fat-amd-1 ~]# cat /sys/module/ptlrpc/parameters/suppress_pings 
1
[root@fat-amd-1 ~]# cat /proc/fs/lustre/mdt/lustre-MDT0000/stats 
[root@fat-amd-1 ~]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;OSS:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@fat-amd-3 ~]# cat /proc/fs/lustre/obdfilter/lustre-OST0000/stats 
[root@fat-amd-3 ~]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="18254">LU-3112</key>
            <summary>Cannot get stats from MDS and OSS after enable ptlrpc module parameter suppress_pings</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10200">Won&apos;t Do</resolution>
                                        <assignee username="liwei">Li Wei</assignee>
                                    <reporter username="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Apr 2013 06:24:05 +0000</created>
                <updated>Fri, 8 Oct 2021 23:44:28 +0000</updated>
                            <resolved>Fri, 8 Oct 2021 23:44:28 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="55691" author="liwei" created="Mon, 8 Apr 2013 03:58:46 +0000"  >&lt;p&gt;I can&apos;t reproduce this on the OSS:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@linux tests]# PTLDEBUG=-1 DEBUG_SIZE=64 MODOPTS_PTLRPC=&quot;suppress_pings=1&quot; MGSDEV=/tmp/lustre-mgs ./llmount.sh 
[...]
disable quota as required       
[root@linux tests]# cat /proc/fs/lustre/obdfilter/lustre-OST0000/stats 
snapshot_time             1365393105.574018 secs.usecs
get_info                  2 samples [reqs]
set_info_async            2 samples [reqs]
connect                   2 samples [reqs]
statfs                    9 samples [reqs]
create                    2 samples [reqs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As to the MDS, this procfs entry should be used instead:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@linux tests]# cat /proc/fs/lustre/mds/MDS/mdt/stats 
snapshot_time             1365393296.454917 secs.usecs
req_waittime              17 samples [usec] 46 259 1483 193635
req_qdepth                17 samples [reqs] 0 0 0 0
req_active                17 samples [reqs] 1 1 17 17
req_timeout               17 samples [sec] 1 10 35 215
reqbuf_avail              40 samples [bufs] 64 64 2560 163840
ldlm_ibits_enqueue        3 samples [reqs] 1 1 3 3
mds_getattr               1 samples [usec] 144 144 144 20736
mds_connect               6 samples [usec] 102 291 1116 232976
mds_getstatus             1 samples [usec] 77 77 77 5929
mds_statfs                4 samples [usec] 80 239 524 84678
obd_ping                  1 samples [usec] 126 126 126 15876
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="55692" author="liwei" created="Mon, 8 Apr 2013 04:03:23 +0000"  >&lt;p&gt;P.S., I tried &quot;suppress_pings=0&quot;.  The lustre-MDT0000 stats did not has any contents as well:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@linux tests]# PTLDEBUG=-1 DEBUG_SIZE=64 MODOPTS_PTLRPC=&quot;suppress_pings=0&quot; MGSDEV=/tmp/lustre-mgs ./llmount.sh 
[...]

disable quota as required
[root@linux tests]# cat /proc/fs/lustre/mds/MDS/mdt/stats 
snapshot_time             1365393695.697075 secs.usecs
req_waittime              23 samples [usec] 47 1264 10682 8456720
req_qdepth                23 samples [reqs] 0 0 0 0
req_active                23 samples [reqs] 1 1 23 23
req_timeout               23 samples [sec] 1 10 41 221
reqbuf_avail              50 samples [bufs] 64 64 3200 204800
mds_getattr               1 samples [usec] 162 162 162 26244
mds_connect               6 samples [usec] 102 507 1460 479340
mds_getstatus             1 samples [usec] 102 102 102 10404
mds_statfs                2 samples [usec] 115 926 1041 870701
obd_ping                  13 samples [usec] 80 117 1264 124682
[root@linux tests]# cat /proc/fs/lustre/mdt/lustre-MDT0000/stats 
[root@linux tests]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="55830" author="sarah" created="Tue, 9 Apr 2013 07:21:13 +0000"  >&lt;p&gt;Have you tried on multiple nodes? I can also get the OSS stats all in one node, while still get nothing with server and clients on separate nodes &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@client-5 tests]# PDSH=&quot;pdsh -t 300 -S -w&quot; NAME=ncli mgs_HOST=client-18 MGSDEV=/dev/sda3 SINGLEMDS=mds mds_HOST=fat-amd-1  ost_HOST=fat-amd-3 ost1_HOST=$ost_HOST MDSDEV=/dev/sdb1 MDSDEV1=$MDSDEV MDSSIZE=2000000 OSTCOUNT=1 OSTSIZE=25000000 OSTDEV1=/dev/sdc1 MODOPTS_PTLRPC=&quot;suppress_pings=1&quot; REFORMAT=&quot;--reformat&quot; DEBUG_SIZE=48 SLOW=yes  bash llmount.sh

[root@fat-amd-3 ~]# cat /proc/fs/lustre/obdfilter/lustre-OST0000/stats
[root@fat-amd-3 ~]#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvn5z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7563</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>