<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:19:15 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2242] Update group_vars files in folio-ansible to remove Java memory settings</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2242</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Java memory settings are now controlled by the LaunchDescriptor &amp;#8211; or will be, once the blockers for this issue are resolved.&lt;/p&gt;

&lt;p&gt;(This ticket addresses removing Xmx for snapshot and testing. See 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2310&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2310&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Update group_vars/release and next-release files in folio-ansible to remove Java memory settings&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            FOLIO-2310
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 for &quot;release&quot; and &quot;next-release&quot;.)&lt;/p&gt;</description>
                <environment></environment>
        <key id="81403">FOLIO-2242</key>
            <summary>Update group_vars files in folio-ansible to remove Java memory settings</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="61cd0ca0bce5e00069e98be7">David Crossley</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                            <label>devops</label>
                            <label>platform-backlog</label>
                    </labels>
                <created>Fri, 6 Sep 2019 18:00:44 +0000</created>
                <updated>Wed, 3 Jun 2020 16:40:06 +0000</updated>
                            <resolved>Wed, 16 Oct 2019 22:32:42 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="192954" author="5cd423bebc70090d6ce241b1" created="Thu, 19 Sep 2019 18:42:04 +0000"  >&lt;p&gt;Question on this one, apologies if I&apos;m reading this wrong. In this transition phase the container memory limit is set to 1.33 * the value of the max heap size in folio-ansible like this:&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;JAVA_OPTIONS, value: &quot;-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Xmx256m&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt; When the this is removed from folio ansible, the ld has:&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;&quot;-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Wouldn&apos;t we lose that 1/3 bit of headroom for the OS etc, and get OOM killed again if the main java process reaches the max heap size?&lt;/p&gt;</comment>
                                                            <comment id="192959" author="5c706fbb47a54a6728e59df2" created="Thu, 19 Sep 2019 18:53:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cd423bebc70090d6ce241b1&quot; class=&quot;user-hover&quot; rel=&quot;5cd423bebc70090d6ce241b1&quot; data-account-id=&quot;5cd423bebc70090d6ce241b1&quot; accountid=&quot;5cd423bebc70090d6ce241b1&quot; rel=&quot;noreferrer&quot;&gt;Ian Hardy&lt;/a&gt; &amp;#8211; We will certainly need to test it, but as I understand it, the &lt;tt&gt;UseCGroupMemoryLimitForHeap&lt;/tt&gt; option simply tells Java to see the container limit as the total available memory. Java then operates as usual on a physical system, regulating its heap size to remain within the total memory limit (presumably setting max heap to less than the total size). I did some cursory testing with mod-notes, and that did seem to be the case.&lt;/p&gt;</comment>
                                                            <comment id="192964" author="61cd0ca0bce5e00069e98be7" created="Mon, 14 Oct 2019 08:45:35 +0000"  >&lt;p&gt;I have done some testing over the last few days.&lt;/p&gt;

&lt;p&gt;With a branch of folio-ansible, did the Jenkins fresh build of folio-snapshot-test, then did ssh to the instance and gathered statistics about the memory usage by each docker container.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;A) Attachment summary-201910110824.txt &amp;#8211; After one run of statistics gathering.&lt;/li&gt;
	&lt;li&gt;B) Attachment summary-201910132248.txt &amp;#8211; After doing some data loading of MARC records, some inventory search/display, a number of runs of statistics gathering thoughout the day.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Then removed the -Xmx settings in folio-ansible group_vars for &quot;snapshot&quot; and &quot;snapshot-core&quot; only. (The mod-agreements and mod-invoice have different options, so not touching those.)&lt;br/&gt;
Did the Jenkins fresh build of folio-snapshot-test, then activity and statistics gathering.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;C) Attachment summary-201910140109.txt &amp;#8211; After four runs statistics gathering. After mod-agreements has finished loading.&lt;/li&gt;
	&lt;li&gt;D) Attachment summary-201910140252.txt &amp;#8211; After doing some data loading of MARC records, some inventory search/display, some Checkouts, a number of runs of statistics gathering thoughout the day.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Some notes about the statistics summaries:&lt;/p&gt;

&lt;p&gt;The first part is just showing entries from the individual stats files for a couple of modules.&lt;/p&gt;

&lt;p&gt;The second part shows a crude chart of the change in memory usage. Two characters for each stats run. So &quot;__&quot; means no change. The positive numbers show an increase on a scale of 1 to 5, where +5 is 10% (or more) increase, and +1 is 0.5 percent increase. Negative numbers are a reduction in memory usage.&lt;/p&gt;

&lt;p&gt;It seems that the memory usage is as expected after removing the -Xmx settings.&lt;/p&gt;</comment>
                                                            <comment id="192969" author="61cd0ca0bce5e00069e98be7" created="Tue, 15 Oct 2019 04:55:01 +0000"  >&lt;p&gt;The -Xmx settings are now removed from snapshot and testing.&lt;/p&gt;</comment>
                                                            <comment id="192972" author="61cd0ca0bce5e00069e98be7" created="Wed, 16 Oct 2019 22:32:42 +0000"  >&lt;p&gt;Closed this ticket as done. However, there is still 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2310&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2310&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Update group_vars/release and next-release files in folio-ansible to remove Java memory settings&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            FOLIO-2310
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 for the group_vars of &quot;release&quot; and &quot;next-release&quot;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="81114">FOLIO-1729</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="81427">FOLIO-2234</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81428">FOLIO-2235</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81250">FOLIO-2185</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81457">FOLIO-2310</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64252" name="summary-201910110824.txt" size="3774" author="61cd0ca0bce5e00069e98be7" created="Mon, 14 Oct 2019 08:44:47 +0000"/>
                            <attachment id="64253" name="summary-201910132248.txt" size="6657" author="61cd0ca0bce5e00069e98be7" created="Mon, 14 Oct 2019 08:44:48 +0000"/>
                            <attachment id="64254" name="summary-201910140109.txt" size="4940" author="61cd0ca0bce5e00069e98be7" created="Mon, 14 Oct 2019 08:44:48 +0000"/>
                            <attachment id="64255" name="summary-201910140252.txt" size="7644" author="61cd0ca0bce5e00069e98be7" created="Mon, 14 Oct 2019 08:44:48 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx6nl:4r</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1857">CP: sprint 74</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 Sep 2019 18:42:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>