<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:28: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-3453] Customizable DB_MAXPOOLSIZE parameter in folio-snapshot</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3453</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Needs investigation&lt;/p&gt;</description>
                <environment></environment>
        <key id="82250">FOLIO-3453</key>
            <summary>Customizable DB_MAXPOOLSIZE parameter in folio-snapshot</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="5f9abc1eb45b2e007453f423">John Malconian</assignee>
                                                                <reporter accountid="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d">Jakub Skoczen</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 21 Mar 2022 14:12:11 +0000</created>
                <updated>Wed, 6 Apr 2022 13:11:01 +0000</updated>
                            <resolved>Wed, 6 Apr 2022 13:11:01 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="197630" author="5f9abc1eb45b2e007453f423" created="Thu, 31 Mar 2022 17:16:09 +0000"  >&lt;p&gt;mod-source-record-manager module OOM-killed.   Two problems.   1.   Not enough system RAM (32 GB) available to really run FOLIO.    Changed folio-snapshot instance type from m5.2xlarge to r5.2xlarge which gives us a max of 64GB of system RAM.   2.  mod-source-record-storage requires a bump to the default memory placed on the container as defined in the modules&apos;s launch descriptor.     Both of these issues have been resolved.    There is also a somewhat related request to increase DB_MAXPOOLSIZE from &apos;5&apos; to &apos;20&apos;.  I believe this may have to be a global change.  &lt;/p&gt;</comment>
                                                            <comment id="197633" author="5f9abc1eb45b2e007453f423" created="Tue, 5 Apr 2022 16:09:01 +0000"  >&lt;p&gt;The DB_* environment variable values are ignored when set either in the modules launch descriptor or as a &apos;docker_env&apos; group var.   I believe they are ignored because they are ultimately re(set) globally by folio-ansible on the /_/env endpoint in two different roles:  okapi-deployment and okapi-tenant-deploy.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/folio-org/folio-ansible/blob/master/roles/okapi-deployment/tasks/main.yml#L2&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-ansible/blob/master/roles/okapi-deployment/tasks/main.yml#L2&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/folio-ansible/blob/master/roles/okapi-tenant-deploy/tasks/main.yml#L2&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-ansible/blob/master/roles/okapi-tenant-deploy/tasks/main.yml#L2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Aside from the problem that these variables are set twice in two different roles,  this probably could be resolved by removing DB_MAXPOOLSIZE from /_/env and letting this parameter and value to be determined by either the module&apos;s default launch descriptor OR by specifying as a &apos;docker_env&apos; attribute in the &apos;folio_modules&apos; list.    What do you think &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;?&lt;/p&gt;</comment>
                                                            <comment id="197636" author="5c706fbb47a54a6728e59df2" created="Tue, 5 Apr 2022 16:39:19 +0000"  >&lt;p&gt;The only issue is if the &lt;tt&gt;DB&amp;#95;MAXPOOLSIZE&lt;/tt&gt; variable is actually set in each launch descriptor, or if it is missing in some &amp;#8211; what would be the default value? Otherwise I agree that it would be nice not to set it globally if different modules have different requirements.&lt;/p&gt;</comment>
                                                            <comment id="197638" author="5f9abc1eb45b2e007453f423" created="Tue, 5 Apr 2022 17:39:59 +0000"  >&lt;p&gt;PR to remove global DB_MAXPOOLSIZE setting in folio-ansible.   &lt;a href=&quot;https://github.com/folio-org/folio-ansible/pull/517&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/folio-ansible/pull/517&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="197641" author="5f9abc1eb45b2e007453f423" created="Tue, 5 Apr 2022 17:43:34 +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; My take is that all module parameters and default values &lt;b&gt;should&lt;/b&gt; be included in the module&apos;s launch descriptor.   If they are not,  then that&apos;s issue with the module that would need to be fixed.   Also,  we could always set DB_MAXPOOLSIZE in group vars explicitly as a docker_env override in a pinch.  &lt;/p&gt;</comment>
                    </comments>
                    <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_10106" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>RCA Group</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10367"><![CDATA[TBD]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2001">DevOps Sprint 136</customfieldvalue>
    <customfieldvalue id="2002">DevOps Sprint 137</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 31 Mar 2022 17:16:09 +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>