set pcrud max children - up other max children values
authorChris Sharp <csharp@georgialibraries.org>
Sun, 17 Oct 2021 23:01:14 +0000 (19:01 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sun, 17 Oct 2021 23:01:14 +0000 (19:01 -0400)
GenaSYS.sh
templates/opensrf.xml/opensrf.xml-header

index 99eccf7..a315fcb 100755 (executable)
@@ -3202,17 +3202,18 @@ sed -i "s^vandelay_MAX^25^g" openils/conf/opensrf.xml
 Optimize_Brick_OpenSRF () { ### Optimize OpenSRF for bricks
 
 #--- Optimize OpenSRF max_children
-sed -i "s^actor_MAX^60^g" openils/conf/opensrf.xml
+sed -i "s^actor_MAX^192^g" openils/conf/opensrf.xml
 sed -i "s^search_MAX^80^g" openils/conf/opensrf.xml
 sed -i "s^cata_MAX^60^g" openils/conf/opensrf.xml
 sed -i "s^supercat_MAX^60^g" openils/conf/opensrf.xml
-sed -i "s^circ_MAX^60^g" openils/conf/opensrf.xml
+sed -i "s^circ_MAX^120^g" openils/conf/opensrf.xml
 sed -i "s^ingest_MAX^80^g" openils/conf/opensrf.xml
-sed -i "s^storage_MAX^48^g" openils/conf/opensrf.xml
-sed -i "s^cstore_MAX^128^g" openils/conf/opensrf.xml
+sed -i "s^storage_MAX^64^g" openils/conf/opensrf.xml
+sed -i "s^cstore_MAX^96^g" openils/conf/opensrf.xml
 sed -i "s^permacrud_MAX^50^g" openils/conf/opensrf.xml
-sed -i "s^fielder_MAX^50^g" openils/conf/opensrf.xml
+sed -i "s^fielder_MAX^72^g" openils/conf/opensrf.xml
 sed -i "s^vandelay_MAX^50^g" openils/conf/opensrf.xml
+sed -i "s^pcrud_MAX^192^g" openils/conf/opensrf.xml
 #---
 }
 
index 3ff7c5d..ee08dea 100755 (executable)
@@ -990,7 +990,7 @@ vim:et:ts=4:sw=4:
                     <unix_pid>open-ils.pcrud.pid</unix_pid>
                     <max_requests>1000</max_requests>
                     <min_children>1</min_children>
-                    <max_children>72</max_children>
+                    <max_children>pcrud_MAX</max_children>
                     <min_spare_children>1</min_spare_children>
                     <max_spare_children>5</max_spare_children>
                 </unix_config>