<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:25:17 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-3056] Capture heap dump on OOM for mod-password-validator in reference environments</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3056</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;mod-password-validator has been crashing fairly regularly on the reference environments. &lt;tt&gt;docker inspect&lt;/tt&gt; shows that it is OOM-killed, which means that it exceeded the memory limit configured in the launch descriptor. It&apos;s not clear what could cause this.&lt;/p&gt;

&lt;p&gt;The team has asked us to try to capture heap dumps for the module. We should be able to do this by adding the &lt;tt&gt;-XX:+HeapDumpOnOutOfMemoryError&lt;/tt&gt; switch to the java command line for the container.&lt;/p&gt;</description>
                <environment></environment>
        <key id="82072">FOLIO-3056</key>
            <summary>Capture heap dump on OOM for mod-password-validator in reference environments</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="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</assignee>
                                                                <reporter accountid="5c706fbb47a54a6728e59df2">Wayne Schneider</reporter>
                                    <labels>
                    </labels>
                <created>Thu, 4 Mar 2021 15:12:04 +0000</created>
                <updated>Thu, 18 Mar 2021 19:49:50 +0000</updated>
                            <resolved>Thu, 18 Mar 2021 19:49:50 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="196603" author="5c706fbb47a54a6728e59df2" created="Tue, 16 Mar 2021 23:54:54 +0000"  >&lt;p&gt;Added &lt;tt&gt;-XX:+HeapDumpOnOutOfMemoryError&lt;/tt&gt; to &lt;tt&gt;JAVA_OPTIONS&lt;/tt&gt; for mod-password-validator for snapshot/testing builds. Full command line:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
exec java -XX:MaxRAMPercentage=66.0 -XX:+HeapDumpOnOutOfMemoryError -Dspring.datasource.username=folio_admin -Dspring.datasource.password=folio_admin5757 -Dspring.datasource.url=jdbc:postgresql:&lt;span class=&quot;code-comment&quot;&gt;//10.36.1.142:5432/okapi_modules -Dspring.datasource.username=folio_admin -Dspring.datasource.password=folio_admin5757 -Dspring.datasource.url=jdbc:postgresql://10.36.1.142:5432/okapi_modules -XX:+ExitOnOutOfMemoryError -cp . -jar /usr/verticles/mod-password-validator-fat.jar&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This change has been tested and merged, and should take effect in the next reference environment bulds.&lt;/p&gt;</comment>
                                                            <comment id="196606" author="5c706fbb47a54a6728e59df2" created="Wed, 17 Mar 2021 18:08:25 +0000"  >&lt;p&gt;This update is in the reference environments, however, when I checked folio-snapshot, mod-password-validator had been OOM-killed &lt;em&gt;without&lt;/em&gt; generating a heap dump.&lt;/p&gt;

&lt;p&gt;I posted on the Slack &amp;#35;development channel for some help. If there isn&apos;t a good way to capture a heap dump when the module is OOM-killed, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A329e0f11-cc86-459e-a311-80d4eb134a7f&quot; class=&quot;user-hover&quot; rel=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; data-account-id=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; accountid=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; rel=&quot;noreferrer&quot;&gt;Sobha Duvvuri&lt;/a&gt;, you may need to look at other strategies for doing the analysis required for 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODPWD-58&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODPWD-58&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Analyze memory consumption of module&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            MODPWD-58
        &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;
.&lt;/p&gt;</comment>
                                                            <comment id="196609" author="5c706fbb47a54a6728e59df2" created="Thu, 18 Mar 2021 19:49:34 +0000"  >&lt;p&gt;I&apos;ve reverted the commit and am closing this issue for now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="75900">MODPWD-58</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02glr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="954">DevOps Sprint 110</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>