<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:48:12 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-11934] replay-single test_70c: Oom on client</title>
                <link>https://jira.whamcloud.com/browse/LU-11934</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;[ 8500.380063] Kernel panic - not syncing: Out of memory and no killable processes...
 
[ 8500.385004] CPU: 0 PID: 25664 Comm: kworker/u4:0 Kdump: loaded Tainted: G           OE  ------------   3.10.0-862.14.4.el7.x86_64 #1
[ 8500.390771] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 8500.393649] Call Trace:
[ 8500.395723]  [&amp;lt;ffffffffa0313754&amp;gt;] dump_stack+0x19/0x1b
[ 8500.398474]  [&amp;lt;ffffffffa030d29f&amp;gt;] panic+0xe8/0x21f
[ 8500.401112]  [&amp;lt;ffffffff9fd9b50a&amp;gt;] out_of_memory+0x4ea/0x4f0
[ 8500.403935]  [&amp;lt;ffffffffa030f423&amp;gt;] __alloc_pages_slowpath+0x5d6/0x724
[ 8500.406940]  [&amp;lt;ffffffff9fda18b5&amp;gt;] __alloc_pages_nodemask+0x405/0x420
[ 8500.409955]  [&amp;lt;ffffffff9fdec058&amp;gt;] alloc_pages_current+0x98/0x110
[ 8500.412877]  [&amp;lt;ffffffff9fd9bf3e&amp;gt;] __get_free_pages+0xe/0x40
[ 8500.415664]  [&amp;lt;ffffffff9fc775b2&amp;gt;] pgd_alloc+0x22/0x150
[ 8500.418237]  [&amp;lt;ffffffff9fc90958&amp;gt;] mm_init+0x158/0x1b0
[ 8500.420734]  [&amp;lt;ffffffff9fc90ee0&amp;gt;] mm_alloc+0x80/0x110
[ 8500.423203]  [&amp;lt;ffffffff9fe279d9&amp;gt;] do_execve_common.isra.24+0x249/0x6e0
[ 8500.426004]  [&amp;lt;ffffffff9fe34d1c&amp;gt;] ? poll_select_copy_remaining+0xfc/0x150
[ 8500.428928]  [&amp;lt;ffffffff9fe30900&amp;gt;] ? vfs_unlink+0x170/0x190
[ 8500.431440]  [&amp;lt;ffffffff9fe27e88&amp;gt;] do_execve+0x18/0x20
[ 8500.433811]  [&amp;lt;ffffffff9fcb2bef&amp;gt;] ____call_usermodehelper+0xff/0x140
[ 8500.436484]  [&amp;lt;ffffffff9fcb2c30&amp;gt;] ? ____call_usermodehelper+0x140/0x140
[ 8500.439191]  [&amp;lt;ffffffff9fcb2c4e&amp;gt;] call_helper+0x1e/0x20
[ 8500.441533]  [&amp;lt;ffffffffa03255f7&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[ 8500.444160]  [&amp;lt;ffffffff9fcb2c30&amp;gt;] ? ____call_usermodehelper+0x140/0x140

crash-7.2.5&amp;gt; kmem -i
                PAGES        TOTAL      PERCENTAGE
   TOTAL MEM   945937       3.6 GB         ----
        FREE    21480      83.9 MB    2% of TOTAL MEM
        USED   924457       3.5 GB   97% of TOTAL MEM
      SHARED       64       256 KB    0% of TOTAL MEM
     BUFFERS       35       140 KB    0% of TOTAL MEM
      CACHED      388       1.5 MB    0% of TOTAL MEM
        SLAB    11322      44.2 MB    1% of TOTAL MEM

crash-7.2.5&amp;gt; kmem -p | awk &apos;/head/ { print extent ; extent=1 } /tail/ { extent++ }&apos; | sort -n | uniq -c
      1 
   1734 2
    820 4
    210 8
      2 16
     41 32
      1 64
   1472 512

 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So vmcore shows 1472 block with size 2MB. During memory analyze we&apos;ve found that 2MB chunks belongs to REINT_SETATTR request.&lt;br/&gt;
 crash-7.2.5&amp;gt; ptlrpc_request ffff96af35364000&lt;br/&gt;
 &amp;gt; rq_repbuf_len = 2097152,&lt;/p&gt;

&lt;p&gt;This size is set at mdc_setattr() function&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;&#160;
mdc_setattr(){
 ....
 req_capsule_set_size(&amp;amp;req-&amp;gt;rq_pill, &amp;amp;RMF_ACL, RCL_SERVER,
 req-&amp;gt;rq_import-&amp;gt;imp_connect_data.ocd_max_easize);
 ..
 }&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;ocd_max_easize is 1MB, a reply is bit larger and roundup set it to 2MB.&lt;/p&gt;

&lt;p&gt;The Patrick&apos;s patch 4f78164f helps here and set 64KB.&lt;br/&gt;
 But there is no need in ACL at all for mdc_setattr, because server doesn&apos;t fill it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="54794">LU-11934</key>
            <summary>replay-single test_70c: Oom on client</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="1">Fixed</resolution>
                                        <assignee username="aboyko">Alexander Boyko</assignee>
                                    <reporter username="aboyko">Alexander Boyko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 6 Feb 2019 09:13:05 +0000</created>
                <updated>Tue, 19 Feb 2019 06:16:23 +0000</updated>
                            <resolved>Tue, 19 Feb 2019 06:16:23 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="241442" author="gerrit" created="Wed, 6 Feb 2019 09:14:10 +0000"  >&lt;p&gt;Alexandr Boyko (c17825@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34194&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11934&quot; title=&quot;replay-single test_70c: Oom on client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11934&quot;&gt;&lt;del&gt;LU-11934&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t use ACL at setattr&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 01a72c09bc95d841f033c182417521cffaebdda6&lt;/p&gt;</comment>
                            <comment id="241470" author="pfarrell" created="Wed, 6 Feb 2019 16:53:57 +0000"  >&lt;p&gt;Alex,&lt;/p&gt;

&lt;p&gt;You might take a look at:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/34058/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/34058/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The maximum allowed xattr size in Linux is 64 KiB, more than that and tar (and other tools) break.&lt;/p&gt;

&lt;p&gt;Even if you don&apos;t want the whole patch, you might consider just the change to the max xattr size on ldiskfs.&#160; It improves memory behavior with ea_inode a &lt;b&gt;bunch&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="241471" author="pfarrell" created="Wed, 6 Feb 2019 16:55:17 +0000"  >&lt;p&gt;Oh, wait, I think you found my patch. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;


&lt;p&gt;&quot;The Patrick&apos;s patch 4f78164f helps here and set 64KB.&quot;&lt;/p&gt;

&lt;p&gt;But your patch is correct and obviously still good.&#160; Saves memory.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="242175" author="gerrit" created="Mon, 18 Feb 2019 06:39:04 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34194/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34194/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11934&quot; title=&quot;replay-single test_70c: Oom on client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11934&quot;&gt;&lt;del&gt;LU-11934&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t use ACL at setattr&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e7f6f870c356f2158a01497d50d732d25b1c29ac&lt;/p&gt;</comment>
                            <comment id="242226" author="pjones" created="Tue, 19 Feb 2019 06:16:23 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&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|i00b3b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>