94eb20011012fa481a66f06fcc82f4c426ff56cf
[Evergreen.git] / Open-ILS / examples / opensrf.xml.example
1 <?xml version='1.0'?>
2
3 <!-- 
4 Example opensrf config file for OpenILS
5 vim:et:ts=4:sw=4:
6 -->
7
8 <opensrf version='0.0.3'>
9
10     <default>
11
12         <dirs>
13             <log>/openils/var/log</log> <!-- unix::server log files -->
14             <sock>/openils/var/sock</sock> <!-- unix::server sock files -->
15             <pid>/openils/var/pid</pid>
16             <xsl>/openils/var/xsl</xsl>
17             <script>/openils/var</script>
18             <script_lib>/openils/var</script_lib>
19         </dirs>
20
21         <!-- global data visibility settings -->
22         <share>
23             <user>
24                 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
25                 <opt_in>false</opt_in>
26             </user>
27         </share>
28
29         <IDL>/openils/conf/fm_IDL.xml</IDL> <!-- top level IDL file -->
30
31         <server_type>prefork</server_type> <!-- net::server type -->
32
33         <ils_events>/openils/var/data/ils_events.xml</ils_events> <!-- ILS events description file -->
34
35         <email_notify>
36             <!-- global email notification settings -->
37             <template>/openils/var/data/hold_notification_template.example</template>
38             <smtp_server>localhost</smtp_server>
39
40             <!--
41             in most cases, this is overridden by location 
42             specific config settings.  this is just the default
43             -->
44             <sender_address>evergreen@localhost</sender_address>
45         </email_notify>
46
47
48         <reporter>
49             <!--
50             Settings for the reporter daemon process 
51             -->
52             <setup>
53                 <base_uri>https://localhost/reporter/</base_uri>
54                 <database>
55                     <driver>Pg</driver>
56                     <host>localhost</host>
57                     <port>5432</port>
58                     <db>evergreen</db>
59                     <user>postgres</user>
60                     <pw>postgres</pw>
61                 </database>
62                 <files>
63                     <!-- successful report outputs go here -->
64                     <output_base>/openils/var/web/reporter</output_base>
65                     <success_template>/openils/var/data/report-success</success_template>
66                     <fail_template>/openils/var/data/report-fail</fail_template>
67                 </files>
68             </setup>
69         </reporter>
70
71
72
73         <xml-rpc>
74             <!-- XML-RPC gateway.  Do NOT publish unprotected services here -->
75             <allowed_services>
76                 <!-- list of published services -->
77                 <service>opensrf.math</service>
78                 <service>opensrf.dbmath</service>
79                 <service>open-ils.cat</service>
80                 <service>open-ils.search</service>
81                 <service>open-ils.circ</service>
82                 <service>open-ils.actor</service>
83                 <service>open-ils.auth</service>
84                 <service>open-ils.collections</service>
85             </allowed_services>
86         </xml-rpc>
87
88
89         <z3950>
90             <default>oclc</default>
91             <services>
92
93                 <loc>
94                     <!-- LoC does not require username/password -->
95                     <name>loc</name>
96                     <host>z3950.loc.gov</host>
97                     <port>7090</port>
98                     <db>Voyager</db>
99                     <!-- fetch the full record with no holdings. FI is the default -->
100                     <record_format>FI</record_format> 
101                     <attrs>
102                         <tcn><code>12</code><format>1</format></tcn>
103                         <isbn><code>7</code><format>6</format></isbn>
104                         <lccn><code>9</code><format>1</format></lccn>
105                         <author><code>1003</code><format>6</format></author>
106                         <title><code>4</code><format>6</format></title>
107                         <issn><code>8</code><format>1</format></issn>
108                         <publisher><code>1018</code><format>6</format></publisher>
109                         <pubdate><code>31</code><format>1</format></pubdate>
110                         <item_type><code>1001</code><format>1</format></item_type>
111                     </attrs>
112                 </loc>
113
114                 <oclc>
115                     <!-- Z3950 settings for OCLC.  Note that OCLC requires username/password -->
116                     <host>zcat.oclc.org</host>
117                     <port>210</port>
118                     <db>OLUCWorldCat</db>
119                     <attrs>
120                         <!--
121                         These are directly from the Bib-1 Attribute Set
122                         http://www.loc.gov/z3950/agency/defns/bib1.html
123                         <code> is the "use attribute", <format> is the "structure attribute"
124                         This just puts some friendly names on the data.
125                         -->
126                         <tcn><code>12</code><format>1</format></tcn>
127                         <isbn><code>7</code><format>6</format></isbn>
128                         <lccn><code>9</code><format>1</format></lccn>
129                         <author><code>1003</code><format>6</format></author>
130                         <title><code>4</code><format>6</format></title>
131                         <issn><code>8</code><format>1</format></issn>
132                         <publisher><code>1018</code><format>6</format></publisher>
133                         <pubdate><code>31</code><format>1</format></pubdate>
134                         <item_type><code>1001</code><format>1</format></item_type>
135                     </attrs>
136                 </oclc>
137
138             </services>
139         </z3950>
140
141
142         <added_content>
143
144             <!-- XXX If you use the Amazon plugin, you must link back to Amazon in the OPAC -->
145
146             <!-- load the Amazon added content module -->
147             <module>OpenILS::WWW::AddedContent::Amazon</module>
148             <!--
149             Base URL for Amazon added content fetching.  This URL may
150             need to be shortened when new (read: non-image) content 
151             fetching capabilities are added
152             -->
153             <base_url>http://images.amazon.com/images/P/</base_url>
154
155             <!--
156             Max number of seconds to wait for an added content request to 
157             return data.  Data not returned within the timeout is considered
158             a failure
159             -->
160             <timeout>4</timeout>
161
162             <!--
163             After added content lookups have been disabled due to too many
164             lookup failures, this is the amount of time to wait before
165             we try again
166             -->
167             <retry_timeout>600</retry_timeout>
168
169             <!--
170             maximum number of consecutive lookup errors a given process can 
171             have before added content lookups are disabled for everyone
172             -->
173             <max_errors>4</max_errors>
174
175             <!-- If a userid is required to access the added content.. -->
176             <userid>MY_USER_ID</userid>
177
178             <!--
179             You can add free-form settings here and they will be accessible
180             within the added content module
181             -->
182
183         </added_content>
184
185
186
187         <!-- no apps are enabled globally by default -->
188         <activeapps/> 
189
190         <cache>
191             <!-- memcache servers -->
192             <global>
193                 <servers>
194                     <server>localhost:11211</server>
195                 </servers>
196                 <max_cache_time>86400</max_cache_time>
197             </global>
198         </cache>
199
200         <apps>
201             <!-- Authentication server -->
202             <open-ils.auth>
203
204                 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
205                 <keepalive>5</keepalive>
206
207                 <!-- true if this service support stateless requests -->
208                 <stateless>1</stateless>
209
210                 <!-- implementation language -->
211                 <language>c</language>
212
213                 <!-- library to plugin -->
214                 <implementation>oils_auth.so</implementation>
215
216                 <!-- maximum required opensrf requests within a stateful connection -->
217                 <max_requests>93</max_requests>
218
219                 <unix_config>
220                     <!--
221                     maximum number of top level requests coming to 
222                     this child before the child is recycled
223                     -->
224                     <max_requests>1000</max_requests>
225                     <!-- min children to fork -->
226                     <min_children>1</min_children>
227                     <!-- max possible children to fork -->
228                     <max_children>15</max_children>
229
230                     <!--
231                     C forking implementation does not support 
232                     min/max idle children, but may in the future
233                     -->
234
235                     <!-- min idle children -->
236                     <min_spare_children>1</min_spare_children>
237                     <!-- max idle children -->
238                     <max_spare_children>5</max_spare_children>
239
240                 </unix_config>
241
242                 <app_settings>
243                     <!-- defined app-specific settings here -->
244                     <default_timeout>
245                         <!-- default login timeouts based on login type -->
246                         <opac>420</opac>
247                         <staff>7200</staff>
248                         <temp>300</temp>
249                     </default_timeout>
250                 </app_settings>
251             </open-ils.auth>
252
253
254             <!-- Generic search server -->
255             <open-ils.search>
256                 <keepalive>5</keepalive>
257                 <stateless>1</stateless>
258                 <language>perl</language>
259                 <implementation>OpenILS::Application::Search</implementation>
260                 <max_requests>93</max_requests>
261                 <unix_config>
262
263                     <!-- the following 3 settings are currently used by Perl services only -->
264                     <unix_sock>open-ils.search_unix.sock</unix_sock>
265                     <unix_pid>open-ils.search_unix.pid</unix_pid>
266                     <unix_log>open-ils.search_unix.log</unix_log>
267
268                     <max_requests>1000</max_requests>
269                     <min_children>1</min_children>
270                     <max_children>15</max_children>
271                     <min_spare_children>1</min_spare_children>
272                     <max_spare_children>5</max_spare_children>
273                 </unix_config>
274                 <app_settings>
275                     <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
276                     <!-- Default to using staged search -->
277                     <use_staged_search>true</use_staged_search>
278                     <superpage_size>500</superpage_size>
279                     <max_superpages>20</max_superpages>
280                     <!-- zip code database file -->
281                     <!--<zips_file>/openils/var/data/zips.txt</zips_file>-->
282                 </app_settings>
283             </open-ils.search>
284
285             <!-- server for accessing user info -->
286             <open-ils.actor>
287                 <keepalive>5</keepalive>
288                 <stateless>1</stateless>
289                 <language>perl</language>
290                 <implementation>OpenILS::Application::Actor</implementation>
291                 <max_requests>93</max_requests>
292                 <unix_config>
293                     <unix_sock>open-ils.actor_unix.sock</unix_sock>
294                     <unix_pid>open-ils.actor_unix.pid</unix_pid>
295                     <max_requests>1000</max_requests>
296                     <unix_log>open-ils.actor_unix.log</unix_log>
297                     <min_children>1</min_children>
298                     <max_children>15</max_children>
299                     <min_spare_children>1</min_spare_children>
300                     <max_spare_children>5</max_spare_children>
301                 </unix_config>
302             </open-ils.actor>
303
304
305             <open-ils.cat>
306                 <keepalive>5</keepalive>
307                 <stateless>1</stateless>
308                 <language>perl</language>
309                 <implementation>OpenILS::Application::Cat</implementation>
310                 <max_requests>199</max_requests>
311                 <unix_config>
312                     <unix_sock>open-ils.cat_unix.sock</unix_sock>
313                     <unix_pid>open-ils.cat_unix.pid</unix_pid>
314                     <max_requests>1000</max_requests>
315                     <unix_log>open-ils.cat_unix.log</unix_log>
316                     <min_children>1</min_children>
317                     <max_children>15</max_children>
318                     <min_spare_children>1</min_spare_children>
319                     <max_spare_children>5</max_spare_children>
320                 </unix_config>
321                 <app_settings>
322                     <marctemplates>
323                         <K_book>/openils/var/templates/marc/k_book.xml</K_book>
324                     </marctemplates>
325                 </app_settings>
326             </open-ils.cat>
327
328             <open-ils.supercat>
329                 <keepalive>5</keepalive>
330                 <stateless>1</stateless>
331                 <language>perl</language>
332                 <implementation>OpenILS::Application::SuperCat</implementation>
333                 <max_requests>199</max_requests>
334                 <unix_config>
335                     <unix_sock>open-ils.supercat_unix.sock</unix_sock>
336                     <unix_pid>open-ils.supercat_unix.pid</unix_pid>
337                     <max_requests>1000</max_requests>
338                     <unix_log>open-ils.supercat_unix.log</unix_log>
339                     <min_children>1</min_children>
340                     <max_children>15</max_children>
341                     <min_spare_children>1</min_spare_children>
342                     <max_spare_children>5</max_spare_children>
343                 </unix_config>
344             </open-ils.supercat>
345
346
347             <opensrf.math>
348                 <keepalive>3</keepalive>
349                 <stateless>1</stateless>
350                 <language>c</language>
351                 <implementation>osrf_math.so</implementation>
352                 <max_requests>97</max_requests>
353                 <unix_config>
354                     <unix_sock>opensrf.math_unix.sock</unix_sock>
355                     <unix_pid>opensrf.math_unix.pid</unix_pid>
356                     <max_requests>1000</max_requests>
357                     <unix_log>opensrf.math_unix.log</unix_log>
358                     <min_children>1</min_children>
359                     <max_children>15</max_children>
360                     <min_spare_children>1</min_spare_children>
361                     <max_spare_children>5</max_spare_children>
362                 </unix_config>
363             </opensrf.math>
364
365             <opensrf.dbmath> 
366                 <keepalive>3</keepalive>
367                 <stateless>1</stateless>
368                 <language>c</language>
369                 <implementation>osrf_dbmath.so</implementation>
370                 <max_requests>99</max_requests>
371                 <unix_config>
372                     <max_requests>1000</max_requests>
373                     <unix_log>opensrf.dbmath_unix.log</unix_log>
374                     <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
375                     <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
376                     <min_children>1</min_children>
377                     <max_children>15</max_children>
378                     <min_spare_children>1</min_spare_children> 
379                     <max_spare_children>5</max_spare_children>
380                 </unix_config>
381             </opensrf.dbmath>
382
383             <open-ils.penalty>
384                 <keepalive>3</keepalive>
385                 <stateless>1</stateless>
386                 <language>perl</language>
387                 <implementation>OpenILS::Application::Penalty</implementation>
388                 <max_requests>99</max_requests>
389                 <unix_config>
390                     <max_requests>1000</max_requests>
391                     <unix_log>open-ils.penalty_unix.log</unix_log>
392                     <unix_sock>open-ils.penalty_unix.sock</unix_sock>
393                     <unix_pid>open-ils.penalty_unix.pid</unix_pid>
394                     <min_children>1</min_children>
395                     <max_children>15</max_children>
396                     <min_spare_children>1</min_spare_children>
397                     <max_spare_children>5</max_spare_children>
398                 </unix_config>
399                 <app_settings>
400                     <patron_penalty>penalty/patron_penalty.js</patron_penalty>
401                     <script_path>/openils/lib/javascript</script_path>
402                     <script_path>/openils/var</script_path>
403                     <script_path>/openils/var/catalog</script_path>
404                 </app_settings>
405             </open-ils.penalty>
406
407             <open-ils.circ> 
408                 <keepalive>3</keepalive>
409                 <stateless>1</stateless>
410                 <language>perl</language>
411                 <implementation>OpenILS::Application::Circ</implementation>
412                 <max_requests>99</max_requests>
413                 <unix_config>
414                     <max_requests>1000</max_requests>
415                     <unix_log>open-ils.circ_unix.log</unix_log>
416                     <unix_sock>open-ils.circ_unix.sock</unix_sock>
417                     <unix_pid>open-ils.circ_unix.pid</unix_pid>
418                     <min_children>1</min_children>
419                     <max_children>15</max_children>
420                     <min_spare_children>1</min_spare_children> 
421                     <max_spare_children>5</max_spare_children>
422                 </unix_config>
423                 <app_settings>
424                     <notify_hold>
425                         <email>false</email> <!-- set to true for hold notice emails -->
426                     </notify_hold>
427
428                     <!-- circulation policy scripts -->
429                     <script_path>/openils/lib/javascript</script_path>
430                     <script_path>/openils/var</script_path>
431                     <script_path>/openils/var/catalog</script_path>
432                     <scripts> 
433                         <circ_permit_patron>circ/circ_permit_patron.js</circ_permit_patron>
434                         <circ_permit_copy>circ/circ_permit_copy.js</circ_permit_copy>
435                         <circ_duration>circ/circ_duration.js</circ_duration>
436                         <circ_recurring_fines>circ/circ_recurring_fines.js</circ_recurring_fines>
437                         <circ_max_fines>circ/circ_max_fines.js</circ_max_fines>
438                         <circ_permit_renew>circ/circ_permit_renew.js</circ_permit_renew>
439                         <circ_permit_hold>circ/circ_permit_hold.js</circ_permit_hold>
440                     </scripts>               
441
442                     <circ_modifiers>
443                         <mod>art</mod>
444                         <mod>atlas</mod>
445                         <mod>audiobook</mod>
446                         <mod>av</mod>
447                         <mod>new-av</mod>
448                         <mod>bestseller</mod>
449                         <mod>bestsellernh</mod>
450                         <mod>book</mod>
451                         <mod>cd</mod>
452                         <mod>dvd</mod>
453                         <mod>dvd-long</mod>
454                         <mod>e-book</mod>
455                         <mod>equipment</mod>
456                         <mod>filmstrip</mod>
457                         <mod>kit</mod>
458                         <mod>magazine</mod>
459                         <mod>map</mod>
460                         <mod>microform</mod>
461                         <mod>music</mod>
462                         <mod>record</mod>
463                         <mod>software</mod>
464                         <mod>softwrlong</mod>
465                         <mod>equip-long</mod>
466                         <mod>talking book</mod>
467                         <mod>toy</mod>
468                         <mod>video</mod>
469                         <mod>video-long</mod>
470                     </circ_modifiers>
471
472                     <billing_types>
473                         <type>Miscellaneous</type>
474                         <type>Overdue materials</type>
475                         <type>Fee for placing a hold</type>
476                         <type>Fee for checking out a book</type>
477                         <type>Fee for library card</type>
478                         <type>Miscellaneous charges</type>
479                         <type>Lost materials</type>
480                         <type>Damaged material</type>
481                         <type>Overdue Reserves charge</type>
482                         <type>Recall overdue</type>
483                         <type>Fee for processing lost library materials</type>
484                         <type>Fee for sending patron bills to collection agency</type>
485                         <type>Fee for interlibrary loan</type>
486                         <type>Fee for copies</type>
487                         <type>Money advanced to pay for telephone use</type>
488                         <type>Deposit fee</type>
489                         <type>Fee for disk</type>
490                         <type>Fee for faxing</type>
491                         <type>Fee for laminating</type>
492                         <type>Fee for room cleaning</type>
493                         <type>Deposit returned; fee refund</type>
494                         <type>Sale items</type>
495                         <type>Fee for lost card</type>
496                         <type>Long overdue items</type>
497                         <type>Lost/Replacement Cassette</type>
498                         <type>Returned Check</type>
499                     </billing_types>
500                 </app_settings>
501             </open-ils.circ>
502
503             <open-ils.ingest>
504                 <keepalive>3</keepalive>
505                 <stateless>1</stateless>
506                 <implementation>OpenILS::Application::Ingest</implementation>
507                 <language>perl</language>
508                 <max_requests>1000000</max_requests>
509                 <unix_config>
510                     <max_requests>1000000</max_requests>
511                     <unix_log>open-ils.ingest-unix.log</unix_log>
512                     <unix_sock>open-ils.ingest-unix.sock</unix_sock>
513                     <unix_pid>open-ils.ingest-unix.pid</unix_pid>
514                     <min_children>5</min_children>
515                     <max_children>20</max_children>
516                     <min_spare_children>2</min_spare_children>
517                     <max_spare_children>5</max_spare_children>
518                 </unix_config>
519                 <app_settings>
520                     <script_path>/openils/lib/javascript/</script_path>
521                     <script_path>/openils/var/catalog/</script_path>
522                     <script_path>/openils/var/web/opac/common/js/</script_path>
523                     <scripts>
524                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
525                         <biblio_descriptor>biblio_descriptor.js</biblio_descriptor>
526                     </scripts>
527                 </app_settings>
528             </open-ils.ingest>
529
530             <open-ils.storage>
531                 <keepalive>10</keepalive>
532                 <stateless>1</stateless>
533                 <language>perl</language>
534                 <implementation>OpenILS::Application::Storage</implementation>
535                 <unix_config>
536                     <max_requests>1000</max_requests>
537                     <unix_log>openils.storage_unix.log</unix_log>
538                     <unix_sock>openils.storage_unix.sock</unix_sock>
539                     <unix_pid>openils.storage_unix.pid</unix_pid>
540                     <min_children>1</min_children>
541                     <max_children>10</max_children>
542                     <min_spare_children>1</min_spare_children>
543                     <max_spare_children>5</max_spare_children>
544                 </unix_config>
545                 <app_settings>
546                     <script_path>/openils/lib/javascript/</script_path>
547                     <script_path>/openils/var/catalog/</script_path>
548                     <scripts>
549                         <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
550                     </scripts>
551                     <databases>
552                         <driver>Pg</driver>
553                         <database>
554                             <type>master</type>
555                             <weight>2</weight>
556                             <user>postgres</user>
557                             <host>localhost</host>
558                             <port>5432</port>
559                             <pw>postgres</pw>
560                             <db>evergreen</db>
561                             <client_encoding>UTF-8</client_encoding>
562                         </database>
563                     </databases>
564                 </app_settings>
565             </open-ils.storage>
566
567
568             <open-ils.cstore>
569                 <keepalive>6</keepalive>
570                 <stateless>1</stateless>
571                 <language>C</language>
572                 <implementation>oils_cstore.so</implementation>
573                 <max_requests>95</max_requests>
574                 <unix_config>
575                     <max_requests>400</max_requests>
576                     <min_children>1</min_children>
577                     <max_children>15</max_children>
578                     <min_spare_children>1</min_spare_children>
579                     <max_spare_children>5</max_spare_children>
580                 </unix_config>
581                 <app_settings>
582                     <max_query_recursion>100</max_query_recursion>
583                     <driver>pgsql</driver>
584                     <database>
585                         <type>master</type>
586                         <weight>2</weight>
587                         <user>postgres</user>
588                         <host>localhost</host>
589                         <port>5432</port>
590                         <pw>postgres</pw>
591                         <db>evergreen</db>
592                         <client_encoding>UTF-8</client_encoding>
593                     </database>
594                 </app_settings>
595             </open-ils.cstore>
596
597
598
599             <opensrf.settings>
600                 <keepalive>1</keepalive>
601                 <stateless>1</stateless>
602                 <language>perl</language>
603                 <implementation>OpenSRF::Application::Settings</implementation>
604                 <max_requests>17</max_requests>
605                 <unix_config>
606                     <unix_sock>opensrf.settings_unix.sock</unix_sock>
607                     <unix_pid>opensrf.settings_unix.pid</unix_pid>
608                     <max_requests>300</max_requests>
609                     <unix_log>opensrf.settings_unix.log</unix_log>
610                     <min_children>5</min_children>
611                     <max_children>15</max_children>
612                     <min_spare_children>3</min_spare_children>
613                     <max_spare_children>5</max_spare_children>
614                 </unix_config>
615             </opensrf.settings>
616
617             <open-ils.collections>
618                 <keepalive>3</keepalive>
619                 <stateless>1</stateless>
620                 <language>perl</language>
621                 <implementation>OpenILS::Application::Collections</implementation>
622                 <max_requests>17</max_requests>
623                 <unix_config>
624                     <unix_sock>openils.collections_unix.sock</unix_sock>
625                     <unix_pid>openils.collections_unix.pid</unix_pid>
626                     <max_requests>1000</max_requests>
627                     <unix_log>openils.collections_unix.log</unix_log>
628                     <min_children>1</min_children>
629                     <max_children>10</max_children>
630                     <min_spare_children>1</min_spare_children>
631                     <max_spare_children>5</max_spare_children>
632                 </unix_config>
633             </open-ils.collections>
634
635             <open-ils.reporter>
636                 <keepalive>3</keepalive>
637                 <stateless>1</stateless>
638                 <language>perl</language>
639                 <implementation>OpenILS::Application::Reporter</implementation>
640                 <max_requests>99</max_requests>
641                 <unix_config>
642                     <unix_sock>openils.reporter_unix.sock</unix_sock>
643                     <unix_pid>openils.reporter_unix.pid</unix_pid>
644                     <max_requests>1000</max_requests>
645                     <unix_log>openils.reporter_unix.log</unix_log>
646                     <min_children>1</min_children>
647                     <max_children>10</max_children>
648                     <min_spare_children>1</min_spare_children>
649                     <max_spare_children>5</max_spare_children>
650                 </unix_config>
651             </open-ils.reporter>
652
653
654             <open-ils.reporter-store>
655                 <keepalive>6</keepalive>
656                 <stateless>1</stateless>
657                 <language>C</language>
658                 <implementation>oils_rstore.so</implementation>
659                 <max_requests>95</max_requests>
660                 <unix_config>
661                     <max_requests>400</max_requests>
662                     <min_children>1</min_children>
663                     <max_children>10</max_children>
664                     <min_spare_children>1</min_spare_children>
665                     <max_spare_children>5</max_spare_children>
666                 </unix_config>
667                 <app_settings>
668                     <driver>pgsql</driver>
669                     <database>
670                         <type>master</type>
671                         <weight>2</weight>
672                         <user>postgres</user>
673                         <host>localhost</host>
674                         <port>5432</port>
675                         <pw>postgres</pw>
676                         <db>evergreen</db>
677                         <client_encoding>UTF-8</client_encoding>
678                     </database>
679                 </app_settings>
680             </open-ils.reporter-store>
681
682             <open-ils.permacrud>
683                <keepalive>3</keepalive>
684                <stateless>1</stateless>
685                <language>perl</language>
686                <implementation>OpenILS::Application::PermaCrud</implementation>
687                <max_requests>17</max_requests>
688                <unix_config>
689                   <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
690                   <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
691                   <max_requests>1000</max_requests>
692                   <unix_log>open-ils.permacrud_unix.log</unix_log>
693                   <min_children>5</min_children>
694                   <max_children>15</max_children>
695                   <min_spare_children>3</min_spare_children>
696                   <max_spare_children>5</max_spare_children>
697                </unix_config>
698             </open-ils.permacrud>
699
700             <open-ils.fielder>
701                <keepalive>3</keepalive>
702                <stateless>1</stateless>
703                <language>perl</language>
704                <implementation>OpenILS::Application::Fielder</implementation>
705                <max_requests>17</max_requests>
706                <unix_config>
707                   <unix_sock>open-ils.fielder_unix.sock</unix_sock>
708                   <unix_pid>open-ils.fielder_unix.pid</unix_pid>
709                   <max_requests>1000</max_requests>
710                   <unix_log>open-ils.fielder_unix.log</unix_log>
711                   <min_children>5</min_children>
712                   <max_children>15</max_children>
713                   <min_spare_children>3</min_spare_children>
714                   <max_spare_children>5</max_spare_children>
715                </unix_config>
716             </open-ils.fielder>
717
718         </apps>
719     </default>
720
721     <hosts>
722
723         <localhost> 
724             <!-- ^-=- 
725             Should match the fully qualified domain name of the host.
726
727             On Linux, the output of the following command is authoritative:
728             $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn();'
729
730             To use 'localhost' instead, run osrf_ctl.sh with the -l flag
731             -->
732
733             <activeapps>
734                 <!-- services hosted on this machine -->
735                 <appname>opensrf.settings</appname> 
736                 <appname>opensrf.math</appname> 
737                 <appname>opensrf.dbmath</appname> 
738                 <appname>open-ils.cat</appname> 
739                 <appname>open-ils.supercat</appname> 
740                 <appname>open-ils.search</appname> 
741                 <appname>open-ils.circ</appname> 
742                 <appname>open-ils.actor</appname> 
743                 <appname>open-ils.auth</appname> 
744                 <appname>open-ils.storage</appname>  
745                 <appname>open-ils.penalty</appname>  
746                 <appname>open-ils.cstore</appname>  
747                 <appname>open-ils.collections</appname>  
748                 <appname>open-ils.ingest</appname>  
749                 <appname>open-ils.reporter</appname>  
750                 <appname>open-ils.reporter-store</appname>  
751                 <appname>open-ils.permacrud</appname>  
752                 <appname>open-ils.fielder</appname>  
753             </activeapps>
754         </localhost>
755     </hosts>
756
757 </opensrf>