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
#---
}
<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>