<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:19:18 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-2250] RMB modules crash on tenant init with updated LaunchDescriptor</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2250</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Reported by &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;:&lt;br/&gt;
Today i commenced 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2234&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2234&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Add LaunchDescriptor settings to each backend core module repository&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-2234
        &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;
 to add the new LaunchDescriptors.&lt;br/&gt;
Started with mod-notes.&lt;br/&gt;
Then did an additional test of this first one via Jenkins folio-testing-test&lt;br/&gt;
&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/Automation/job/folio-testing-test/21/console&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/Automation/job/folio-testing-test/21/console&lt;/a&gt;&lt;br/&gt;
however it fails with:&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;POST request for mod-notes-2.7.0-SNAPSHOT.134 /_/tenant failed with Connection refused: /10.36.1.114:9152&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I can do a successful test locally via the VM &quot;testing-backend&quot; to upgrade from SNAPSHOT-133 to SNAPSHOT-134. But of course that is via vagrant, not via the reference environment.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81412">FOLIO-2250</key>
            <summary>RMB modules crash on tenant init with updated LaunchDescriptor</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</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="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                            <label>devops</label>
                            <label>platform-backlog</label>
                    </labels>
                <created>Tue, 10 Sep 2019 14:31:43 +0000</created>
                <updated>Wed, 3 Jun 2020 16:40:07 +0000</updated>
                            <resolved>Wed, 11 Sep 2019 15:04:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="193035" author="5c706fbb47a54a6728e59df2" created="Tue, 10 Sep 2019 14:33:46 +0000"  >&lt;p&gt;Container crashed on tenant init. Container log:&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;10 Sep 2019 04:11:36:122 INFO  TenantAPI [115771eqId] sending... postTenant for diku
10 Sep 2019 04:11:36:124 INFO  PostgresClient [115773eqId] DB config read from environment variables
10 Sep 2019 04:11:36:135 INFO  PostgresClient [115784eqId] postgreSQLClientConfig = {&quot;maxPoolSize&quot;:5,&quot;port&quot;:5432,&quot;host&quot;:&quot;10.36.1.114&quot;,&quot;username&quot;:&quot;folio_admin&quot;,&quot;database&quot;:&quot;okapi_modules&quot;,&quot;password&quot;:&quot;...&quot;}
10 Sep 2019 04:11:36:249 INFO  BaseSQLClient [115898eqId] Creating configuration for 10.36.1.114:5432
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Not very illuminating.&lt;/p&gt;</comment>
                                                            <comment id="193037" author="5c706fbb47a54a6728e59df2" created="Tue, 10 Sep 2019 16:31:50 +0000"  >&lt;p&gt;The problem appears to be an OOM error on tenant init. I was not able to reproduce it on a Vagrant VM, but I can reproduce it reliably on the reference environment in AWS.&lt;/p&gt;

&lt;p&gt;I will do some further testing. It may be a problem that the container memory limit is set to the same as the max heap size &amp;#8211; perhaps we need to give it more headroom?&lt;/p&gt;</comment>
                                                            <comment id="193040" author="5c706fbb47a54a6728e59df2" created="Tue, 10 Sep 2019 20:26:07 +0000"  >&lt;p&gt;If I remove the &lt;tt&gt;-Xmx&lt;/tt&gt; Java option from the command line, the container launches and stays up through tenant init. Monitoring memory usage, it seems just fine with the 256M set as the container limit.&lt;/p&gt;

&lt;p&gt;I believe we need to set the &lt;tt&gt;Memory&lt;/tt&gt; key in the LaunchDescriptor to something like 1.33x the &lt;tt&gt;-Xmx&lt;/tt&gt; setting, so that the max heap is set to roughly 75% of available memory. Unfortunately, this is more of a rule of thumb than anything. This would mean:&lt;/p&gt;

&lt;p&gt;-Xmx256m = 357913941&lt;br/&gt;
-Xmx384m = 536870912&lt;br/&gt;
-Xmx512m = 715827883&lt;/p&gt;

&lt;p&gt;What do you think, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;?&lt;/p&gt;</comment>
                                                            <comment id="193043" author="61cd0ca0bce5e00069e98be7" created="Tue, 10 Sep 2019 21:25:32 +0000"  >&lt;p&gt;Good discovery. Okay, i will document that, and test with various modules today.&lt;/p&gt;</comment>
                                                            <comment id="193045" author="61cd0ca0bce5e00069e98be7" created="Tue, 10 Sep 2019 21:39:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt; Is this a temporary fix, and these 1.33x memory settings can be reduced after the 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2242&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2242&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Update group_vars 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-2242
        &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;
 cleanup (which removes the -Xmx settings from the folio-ansible group_vars)?&lt;/p&gt;</comment>
                                                            <comment id="193047" author="5c706fbb47a54a6728e59df2" created="Wed, 11 Sep 2019 03:31:16 +0000"  >&lt;p&gt;Yes, this could be temporary, I think. I hate to have all that cleanup to do afterwards, though.&lt;/p&gt;</comment>
                                                            <comment id="193050" author="61cd0ca0bce5e00069e98be7" created="Wed, 11 Sep 2019 06:31:21 +0000"  >&lt;p&gt;Probably going to revisit the MDs again anyway, after 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2237&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2237&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Modify CI script which publishes minimal readme each back-end module to Docker Hub&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-2237
        &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;
 adjusts the script which generates the readme snippet for Docker Hub.&lt;/p&gt;

&lt;p&gt;Revising the LD Memory settings will help to bring the overall memory requirement (e.g. for folio-install) back to be less big.&lt;/p&gt;</comment>
                                                            <comment id="193054" author="61cd0ca0bce5e00069e98be7" created="Wed, 11 Sep 2019 06:32:08 +0000"  >&lt;p&gt;The new LaunchDescriptors are now in place for mod-notes, mod-users, mod-login, and mod-circulation.&lt;br/&gt;
Tested again via &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/Automation/job/folio-testing-test/23/console&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://jenkins-aws.indexdata.com/job/Automation/job/folio-testing-test/23/console&lt;/a&gt;&lt;br/&gt;
and a successful build.&lt;/p&gt;

&lt;p&gt;So it seems that this ticket can be closed. Thanks for your great work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="81427">FOLIO-2234</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79826">FOLIO-2315</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|i0045z:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 10 Sep 2019 21:25:32 +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>