4 Example opensrf config file for OpenILS
8 <opensrf version='0.0.3'>
12 <!-- unless otherwise overidden, use this locale -->
13 <default_locale>en-US</default_locale>
16 <log>LOCALSTATEDIR/log</log> <!-- unix::server log files -->
17 <sock>LOCALSTATEDIR/lock</sock> <!-- unix::server sock files -->
18 <pid>LOCALSTATEDIR/run</pid>
19 <xsl>LOCALSTATEDIR/xsl</xsl>
20 <script>LOCALSTATEDIR</script>
21 <script_lib>LOCALSTATEDIR</script_lib>
22 <templates>LOCALSTATEDIR/templates</templates>
25 <!-- global data visibility settings -->
28 <!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->
29 <opt_in>false</opt_in>
33 <IDL>SYSCONFDIR/fm_IDL.xml</IDL> <!-- top level IDL file -->
34 <IDL2js>fm_IDL2js.xsl</IDL2js> <!-- IDL JS XSLT -->
37 <server_type>prefork</server_type> <!-- net::server type -->
39 <ils_events>LOCALSTATEDIR/data/ils_events.xml</ils_events> <!-- ILS events description file -->
41 <email_notify> <!-- this will eventually move into the notifications section below... -->
42 <!-- global email notification settings -->
43 <template>LOCALSTATEDIR/data/hold_notification_template.example</template>
44 <smtp_server>localhost</smtp_server>
47 in most cases, this is overridden by location
48 specific config settings. this is just the default
50 <sender_address>evergreen@localhost</sender_address>
55 <!-- global mail server settings -->
56 <smtp_server>localhost</smtp_server>
57 <sender_address>evergreen@localhost</sender_address>
59 <!-- global telephony (asterisk) settings -->
61 <!-- replace all values below when telephony server is configured -->
63 <driver>SIP</driver> <!-- SIP (default) or multi -->
64 <channels> <!-- explicit list of channels used if multi -->
65 <!-- A channel specifies technology/resource -->
66 <channel>Zap/1</channel>
67 <channel>Zap/2</channel>
68 <channel>IAX/user:secret@widgets.biz</channel>
70 <host>localhost</host>
72 <user>evergreen</user>
75 The overall composition of callfiles is determined by the
76 relevant template, but this section can be invoked for callfile
77 configs common to all outbound calls.
78 callfile_lines will be inserted into ALL generated callfiles
79 after the Channel line. This content mat be overridden
80 (in whole) by the org unit setting callfile_lines.
81 Warning: Invalid syntax may break ALL outbound calls.
92 <!-- Overdue notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
95 <!-- optionally, you can define a sender address per notice type -->
96 <sender_address>overdue@localhost</sender_address>
98 <!-- The system can generate an XML file of overdue notices. This is the
99 directory where they are stored. Files are named overdue.YYYY-MM-DD.xml -->
100 <notice_dir>LOCALSTATEDIR/data/overdue</notice_dir>
101 <combined_template>LOCALSTATEDIR/data/templates/overdue_combined_xml.example</combined_template>
104 <!-- Notify at 7 days overdue -->
105 <notify_interval>7 days</notify_interval>
106 <!-- Options include always, noemail, and never. 'noemail' means a notice
107 will be appended to the notice file only if the patron has no valid email address. -->
108 <file_append>noemail</file_append>
109 <!-- do we attempt email notification? -->
110 <email_notify>false</email_notify>
111 <!-- notice template file -->
112 <email_template>LOCALSTATEDIR/data/templates/overdue_7day.example</email_template>
116 <!-- Courtesy notices: DEPRECATED in 2.0 in favour of Action/Trigger Notifications -->
119 <!-- All circulations that circulate between 5 and 13 days -->
120 <circ_duration_range>
123 </circ_duration_range>
124 <!-- notify at 1 day before the due date -->
125 <notify_interval>1 day</notify_interval>
126 <file_append>false</file_append>
127 <email_notify>false</email_notify>
128 <email_template>LOCALSTATEDIR/data/templates/predue_1day.example</email_template>
133 <!-- Settings for the hold targeter cron job -->
135 <!-- number of parallel processes to use during hold targeting;
136 increasing can speed up (re)targeting a large number of
137 hold requests, but with diminishing returns after a point;
138 if increasing this value, it is recommend to do so slowly
140 <parallel>1</parallel>
143 <!-- Settings for the fine generator cron job -->
145 <!-- number of parallel processes to use during fine generation -->
146 <parallel>1</parallel>
151 Settings for the reporter daemon process
154 <base_uri>https://localhost/reporter/</base_uri>
157 <host>localhost</host>
160 <user>postgres</user>
162 <application_name>open-ils.reporter</application_name>
166 <host>localhost</host>
169 <user>postgres</user>
171 <application_name>open-ils.reporter-state</application_name>
174 <!-- successful report outputs go here -->
175 <output_base>LOCALSTATEDIR/web/reporter</output_base>
176 <success_template>LOCALSTATEDIR/data/report-success</success_template>
177 <fail_template>LOCALSTATEDIR/data/report-fail</fail_template>
179 <!-- Number of reports that can be processed simultaneously. This
180 value can overriden by the -c/-concurrency command-line switch
183 <parallel>1</parallel>
184 <!-- Maximum number of rows in the query results allowed before
185 Clark will refuse to draw a pie, bar, or line chart. This
186 value can be overriden by the -max-rows-for-charts command-line
187 switch of clark-kent.pl.
189 <max_rows_for_charts>1000</max_rows_for_charts>
190 <!-- Maximum amount of time (in minutes) that an SQL query initiated
191 by Clark Kent will be allowed to run before it is terminated.
192 This value can be overriden by the -statement-timeout
193 command-line switch of clark-kent.pl.
195 <statement_timeout>60</statement_timeout>
196 <!-- Maximum number of results permitted. If set to a numeric value,
197 Clark will limit the number of rows returned by report queries
198 to this value. Note that it will not be apparent to a user
199 running a report from the staff interface that their report
200 has been limited in this fashion. This setting can be
201 overriden by the -resultset-limit command-line switch of
204 A value of 0 means that no limit should be set.
206 <resultset_limit>1048575</resultset_limit>
213 <!-- XML-RPC gateway. Do NOT publish unprotected services here -->
215 <!-- list of published services -->
216 <service>opensrf.math</service>
217 <service>opensrf.dbmath</service>
218 <service>open-ils.cat</service>
219 <service>open-ils.search</service>
220 <service>open-ils.circ</service>
221 <service>open-ils.actor</service>
222 <service>open-ils.auth</service>
223 <service>open-ils.auth_proxy</service>
224 <service>open-ils.collections</service>
225 <service>open-ils.justintime</service>
230 Once upon a time, Z39.50 servers were defined here. As of Evergreen 2.2,
231 they are now defined in the database. See the Release Notes for
232 instructions on mapping the old XML entries to database tables.
236 <!-- load the OpenLibrary added content module -->
237 <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
240 Max number of seconds to wait for an added content request to
241 return data. Data not returned within the timeout is considered
244 Note that the pool of Apache processes used by the AddedContent
245 module is the same pool used by core Evergreen processes such as
246 search, circulation, etc. Therefore, the higher you set this
247 timeout value, the more likely you are to run out of available
248 Apache processes resulting in an accidental (or purposeful) denial
249 of service - particularly if the added content server starts
250 responding abnormally slowly.
252 The safest option is to disable the AddedContent module completely,
253 but 3 seconds is a compromise between the threat of a denial of
254 service and the enhanced user experience offered by successful added
260 After added content lookups have been disabled due to too many
261 lookup failures, this is the amount of time to wait before
264 <retry_timeout>600</retry_timeout>
267 maximum number of consecutive lookup errors a given process can
268 have before added content lookups are disabled for everyone
270 <max_errors>15</max_errors>
272 <!-- If a userid is required to access the added content.. -->
273 <userid>MY_USER_ID</userid>
276 Base URL for Amazon added content fetching. Not needed by OpenLibrary
277 <base_url>http://images.amazon.com/images/P/</base_url>
281 Segregating the details for ContentCafe out for easier use. At some point, we
282 may want to support multiple services at one time.
285 <userid>MY_USER_ID</userid>
286 <password>MY_PASSWORD</password>
289 Which order to put identifiers in.
290 Default is "isbn,upc", ignoring currently unsupported issn.
291 Should be all lowercase.
292 Remove an identifier from the list to skip it.
294 <identifier_order>isbn,upc</identifier_order>
299 You can add free-form settings here and they will be accessible
300 within the added content module
305 <!-- Config section for acq_order_reader.pl script.
306 It reads MARC order record files from disk (presumably
307 an FTP destination) and pushes the order records into ACQ.
311 <!-- Root directory for all FTP'd ACQ order record files .
312 If the script is configured to talk to a remote acq server,
313 this directory has to be a read/write NFS share. -->
314 <base_dir>/openils/var/data/acq_orders/</base_dir>
316 <!-- any files found in the shared subdir must be inspected
317 (e.g. file name prefix) to determine the provider. -->
318 <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
320 <!-- providers that don't provide a mechanism to inspect the file
321 have to push their files to provider-specific locations -->
323 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
324 <provider_code>BAB</provider_code>
325 <provider_owner>CONS</provider_owner> <!-- provider provider_owner; org unit shortname -->
326 <subdir>CONS-BAB</subdir> <!-- file directory; full path = base_dir + subdir -->
327 <activate_po>false</activate_po> <!-- activate PO at upload? -->
329 <import_no_match>true</import_no_match>
330 <!-- Most Vandelay options are supported. For bools, use true/false.
339 auto_overlay_best_match
344 <!-- Add more as needed...
353 <!-- no apps are enabled globally by default -->
357 <!-- memcache servers -->
360 <server>127.0.0.1:11211</server>
362 <max_cache_time>86400</max_cache_time>
365 <!-- anonymous cache. currently, primarily used for web session caching -->
367 <server>127.0.0.1:11211</server>
369 <max_cache_time>1800</max_cache_time>
370 <!-- maximum size of a single cache entry / default = 100k-->
371 <max_cache_size>102400</max_cache_size>
376 <!-- Acquisitions server -->
378 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
379 <keepalive>5</keepalive>
380 <!-- true if this service support stateless requests -->
381 <stateless>1</stateless>
382 <!-- implementation language -->
383 <language>perl</language>
384 <!-- name of the library that implements this application -->
385 <implementation>OpenILS::Application::Acq</implementation>
386 <!-- maximum OpenSRF REQUEST within a stateful connection -->
387 <max_requests>100</max_requests>
390 maximum number of top level requests coming to
391 this child before the child is recycled
393 <max_requests>100</max_requests>
394 <!-- min children to fork -->
395 <min_children>1</min_children>
396 <!-- max possible children to fork -->
397 <max_children>15</max_children>
399 C forking implementation does not support
400 min/max idle children, but may in the future
403 <!-- min idle children -->
404 <min_spare_children>1</min_spare_children>
405 <!-- max idle children -->
406 <max_spare_children>5</max_spare_children>
407 <!-- currently, only Perl uses the following 3 settings -->
408 <unix_sock>open-ils.acq_unix.sock</unix_sock>
409 <unix_pid>open-ils.acq_unix.pid</unix_pid>
410 <unix_log>open-ils.acq_unix.log</unix_log>
414 <!-- Authentication server -->
416 <keepalive>5</keepalive>
417 <stateless>1</stateless>
418 <language>c</language>
419 <implementation>oils_auth.so</implementation>
421 <max_requests>1000</max_requests>
422 <min_children>1</min_children>
423 <max_children>15</max_children>
424 <min_spare_children>1</min_spare_children>
425 <max_spare_children>5</max_spare_children>
428 <!-- defined app-specific settings here -->
430 <seed>30</seed> <!-- amount of time a seed request is valid for -->
431 <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
432 <block_count>10</block_count> <!-- number of failures before blocking access -->
437 <!-- Internal authentication server -->
438 <open-ils.auth_internal>
439 <keepalive>5</keepalive>
440 <stateless>1</stateless>
441 <language>c</language>
442 <implementation>oils_auth_internal.so</implementation>
444 <max_requests>1000</max_requests>
445 <min_children>1</min_children>
446 <max_children>15</max_children>
447 <min_spare_children>1</min_spare_children>
448 <max_spare_children>5</max_spare_children>
451 <!-- defined app-specific settings here -->
453 <!-- default login timeouts based on login type -->
457 <persist>2 weeks</persist>
460 </open-ils.auth_internal>
464 <!-- Authentication proxy server -->
465 <open-ils.auth_proxy>
466 <keepalive>5</keepalive>
467 <stateless>1</stateless>
468 <language>perl</language>
469 <implementation>OpenILS::Application::AuthProxy</implementation>
470 <max_requests>93</max_requests>
473 <max_requests>1000</max_requests>
474 <unix_log>open-ils.auth-proxy_unix.log</unix_log>
475 <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
476 <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
477 <min_children>1</min_children>
478 <max_children>15</max_children>
479 <min_spare_children>1</min_spare_children>
480 <max_spare_children>5</max_spare_children>
484 <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
485 <enabled>false</enabled>
487 <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
491 <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
492 <hostname>name.domain.com</hostname>
493 <basedn>ou=people,dc=domain,dc=com</basedn>
494 <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
495 <id_attr>uid</id_attr>
496 <password>my_ldap_password_for_authid_user</password>
508 <!-- 'native' is a proxied version of Evergreen's standard authentication -->
511 <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
515 </open-ils.auth_proxy>
517 <!-- Generic search server -->
519 <keepalive>5</keepalive>
520 <stateless>1</stateless>
521 <language>perl</language>
522 <implementation>OpenILS::Application::Search</implementation>
523 <max_requests>93</max_requests>
525 <unix_sock>open-ils.search_unix.sock</unix_sock>
526 <unix_pid>open-ils.search_unix.pid</unix_pid>
527 <unix_log>open-ils.search_unix.log</unix_log>
529 <max_requests>1000</max_requests>
530 <min_children>1</min_children>
531 <max_children>15</max_children>
532 <min_spare_children>1</min_spare_children>
533 <max_spare_children>5</max_spare_children>
536 <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
537 <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
539 <spelling_dictionary>
541 Optionally configure different dictionaries depending on search context.
542 If no dictionaries are defined, the default Aspell dictionary is used.
545 <default>LOCALSTATEDIR/data/default_dict.txt</default>
546 <title>LOCALSTATEDIR/data/title_dict.txt</title>
547 <author>LOCALSTATEDIR/data/author_dict.txt</author>
548 <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
549 <series>LOCALSTATEDIR/data/series_dict.txt</series>
551 </spelling_dictionary>
553 <!-- Default to using staged search -->
554 <use_staged_search>true</use_staged_search>
557 For staged search, we estimate hits based on inclusion or exclusion.
560 inclusion - visible ratio on superpage
561 exclusion - excluded ratio on superpage
562 delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
563 delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
565 Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
566 will return the same value +/- 1. The exclusion strategy is the original, and works well
567 when there are few deleted or excluded records, in other words, when the superpage is not
568 sparsely populated with visible records.
570 <estimation_strategy>inclusion</estimation_strategy>
573 Evergreen uses a cover density algorithm for calculating relative ranking of matches. There
574 are several tuning parameters and options available. By default, no document length normalization
575 is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
577 Since a longer document has a greater chance of containing a query term it is reasonable
578 to take into account document size, e.g., a hundred-word document with five instances of
579 a search word is probably more relevant than a thousand-word document with five instances.
580 Both ranking functions take an integer normalization option that specifies whether and how
581 a document's length should impact its rank. The integer option controls several behaviors,
582 so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
584 0 (the default) ignores the document length
586 1 divides the rank by 1 + the logarithm of the document length
588 2 divides the rank by the document length
590 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
592 8 divides the rank by the number of unique words in document
594 16 divides the rank by 1 + the logarithm of the number of unique words in document
596 32 divides the rank by itself + 1
598 If more than one flag bit is specified, the transformations are applied in the order listed.
600 It is important to note that the ranking functions do not use any global information, so it
601 is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization
602 option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of
603 course this is just a cosmetic change; it will not affect the ordering of the search results.
605 In Evergreen, these options are set via search modifiers. The modifiers are mapped in the
608 * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant
609 * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant
610 * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant
611 * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant
612 * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant
613 * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1
615 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
617 <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
620 default_preferred_language
621 Set the global, default preferred languange
623 <default_preferred_language>eng</default_preferred_language>
626 default_preferred_language_weight
627 Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
629 <default_preferred_language_weight>5</default_preferred_language_weight>
631 <!-- Baseline number of records to check for hit estimation. -->
632 <superpage_size>1000</superpage_size>
634 <!-- How many superpages to consider for searching overall. -->
635 <max_superpages>10</max_superpages>
637 <!-- zip code database file -->
638 <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
642 <!-- server for accessing user info -->
644 <keepalive>5</keepalive>
645 <stateless>1</stateless>
646 <language>perl</language>
647 <implementation>OpenILS::Application::Actor</implementation>
648 <max_requests>93</max_requests>
650 <unix_sock>open-ils.actor_unix.sock</unix_sock>
651 <unix_pid>open-ils.actor_unix.pid</unix_pid>
652 <max_requests>1000</max_requests>
653 <unix_log>open-ils.actor_unix.log</unix_log>
654 <min_children>1</min_children>
655 <max_children>15</max_children>
656 <min_spare_children>1</min_spare_children>
657 <max_spare_children>5</max_spare_children>
659 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
661 <id_as_barcode>false</id_as_barcode>
667 <keepalive>5</keepalive>
668 <stateless>1</stateless>
669 <language>perl</language>
670 <implementation>OpenILS::Application::Booking</implementation>
671 <max_requests>199</max_requests>
673 <unix_sock>open-ils.booking_unix.sock</unix_sock>
674 <unix_pid>open-ils.booking_unix.pid</unix_pid>
675 <max_requests>1000</max_requests>
676 <unix_log>open-ils.booking_unix.log</unix_log>
677 <min_children>1</min_children>
678 <max_children>15</max_children>
679 <min_spare_children>1</min_spare_children>
680 <max_spare_children>5</max_spare_children>
687 <keepalive>5</keepalive>
688 <stateless>1</stateless>
689 <language>perl</language>
690 <implementation>OpenILS::Application::Cat</implementation>
691 <max_requests>199</max_requests>
693 <unix_sock>open-ils.cat_unix.sock</unix_sock>
694 <unix_pid>open-ils.cat_unix.pid</unix_pid>
695 <max_requests>1000</max_requests>
696 <unix_log>open-ils.cat_unix.log</unix_log>
697 <min_children>1</min_children>
698 <max_children>15</max_children>
699 <min_spare_children>1</min_spare_children>
700 <max_spare_children>5</max_spare_children>
704 <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
710 <keepalive>5</keepalive>
711 <stateless>1</stateless>
712 <language>perl</language>
713 <implementation>OpenILS::Application::SuperCat</implementation>
714 <max_requests>199</max_requests>
716 <unix_sock>open-ils.supercat_unix.sock</unix_sock>
717 <unix_pid>open-ils.supercat_unix.pid</unix_pid>
718 <max_requests>1000</max_requests>
719 <unix_log>open-ils.supercat_unix.log</unix_log>
720 <min_children>1</min_children>
721 <max_children>15</max_children>
722 <min_spare_children>1</min_spare_children>
723 <max_spare_children>5</max_spare_children>
727 <!-- server for accessing user info -->
729 <keepalive>5</keepalive>
730 <stateless>1</stateless>
731 <language>perl</language>
732 <implementation>OpenILS::Application::Trigger</implementation>
733 <max_requests>93</max_requests>
735 <unix_sock>open-ils.trigger_unix.sock</unix_sock>
736 <unix_pid>open-ils.trigger_unix.pid</unix_pid>
737 <max_requests>1000</max_requests>
738 <unix_log>open-ils.trigger_unix.log</unix_log>
739 <min_children>1</min_children>
740 <max_children>15</max_children>
741 <min_spare_children>1</min_spare_children>
742 <max_spare_children>5</max_spare_children>
745 <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
755 <open-ils.url_verify>
756 <keepalive>5</keepalive>
757 <stateless>1</stateless>
758 <language>perl</language>
759 <implementation>OpenILS::Application::URLVerify</implementation>
760 <max_requests>199</max_requests>
762 <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
763 <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
764 <max_requests>1000</max_requests>
765 <unix_log>open-ils.url_verify_unix.log</unix_log>
766 <min_children>1</min_children>
767 <max_children>15</max_children>
768 <min_spare_children>1</min_spare_children>
769 <max_spare_children>5</max_spare_children>
772 <user_agent>Evergreen %s Link Checker</user_agent>
774 </open-ils.url_verify>
777 <keepalive>3</keepalive>
778 <stateless>1</stateless>
779 <language>c</language>
780 <implementation>osrf_math.so</implementation>
782 <unix_sock>opensrf.math_unix.sock</unix_sock>
783 <unix_pid>opensrf.math_unix.pid</unix_pid>
784 <max_requests>1000</max_requests>
785 <unix_log>opensrf.math_unix.log</unix_log>
786 <min_children>1</min_children>
787 <max_children>15</max_children>
788 <min_spare_children>1</min_spare_children>
789 <max_spare_children>5</max_spare_children>
794 <keepalive>3</keepalive>
795 <stateless>1</stateless>
796 <language>c</language>
797 <implementation>osrf_dbmath.so</implementation>
799 <max_requests>1000</max_requests>
800 <unix_log>opensrf.dbmath_unix.log</unix_log>
801 <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
802 <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
803 <min_children>1</min_children>
804 <max_children>15</max_children>
805 <min_spare_children>1</min_spare_children>
806 <max_spare_children>5</max_spare_children>
810 <open-ils.justintime>
811 <keepalive>5</keepalive>
812 <stateless>1</stateless>
813 <language>perl</language>
814 <implementation>OpenILS::Application::JustInTime</implementation>
815 <max_requests>199</max_requests>
817 <unix_sock>open-ils.justintime_unix.sock</unix_sock>
818 <unix_pid>open-ils.justintime_unix.pid</unix_pid>
819 <max_requests>1000</max_requests>
820 <unix_log>open-ils.justintime_unix.log</unix_log>
821 <min_children>1</min_children>
822 <max_children>15</max_children>
823 <min_spare_children>1</min_spare_children>
824 <max_spare_children>5</max_spare_children>
828 </open-ils.justintime>
831 <keepalive>3</keepalive>
832 <stateless>1</stateless>
833 <language>perl</language>
834 <implementation>OpenILS::Application::Circ</implementation>
835 <max_requests>99</max_requests>
837 <max_requests>1000</max_requests>
838 <unix_log>open-ils.circ_unix.log</unix_log>
839 <unix_sock>open-ils.circ_unix.sock</unix_sock>
840 <unix_pid>open-ils.circ_unix.pid</unix_pid>
841 <min_children>1</min_children>
842 <max_children>15</max_children>
843 <min_spare_children>1</min_spare_children>
844 <max_spare_children>5</max_spare_children>
848 <email>false</email> <!-- set to false to disable hold notice emails -->
854 <keepalive>10</keepalive>
855 <stateless>1</stateless>
856 <language>perl</language>
857 <implementation>OpenILS::Application::Storage</implementation>
859 <max_requests>1000</max_requests>
860 <unix_log>open-ils.storage_unix.log</unix_log>
861 <unix_sock>open-ils.storage_unix.sock</unix_sock>
862 <unix_pid>open-ils.storage_unix.pid</unix_pid>
863 <min_children>1</min_children>
864 <max_children>10</max_children>
865 <min_spare_children>1</min_spare_children>
866 <max_spare_children>5</max_spare_children>
869 <script_path>LIBDIR/javascript/</script_path>
870 <script_path>LOCALSTATEDIR/catalog/</script_path>
872 <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
879 <user>postgres</user>
880 <host>localhost</host>
884 <client_encoding>UTF-8</client_encoding>
885 <application_name>open-ils.storage</application_name>
892 <keepalive>6</keepalive>
893 <stateless>1</stateless>
894 <language>C</language>
895 <implementation>oils_cstore.so</implementation>
897 <max_requests>1000</max_requests>
898 <min_children>1</min_children>
899 <max_children>15</max_children>
900 <min_spare_children>1</min_spare_children>
901 <max_spare_children>5</max_spare_children>
904 <max_query_recursion>100</max_query_recursion>
905 <driver>pgsql</driver>
909 <user>postgres</user>
910 <host>localhost</host>
914 <client_encoding>UTF-8</client_encoding>
915 <application_name>open-ils.cstore</application_name>
921 <keepalive>6</keepalive>
922 <migratable>1</migratable>
923 <stateless>1</stateless>
924 <language>C</language>
925 <implementation>oils_pcrud.so</implementation>
928 <unix_log>open-ils.pcrud.log</unix_log>
929 <unix_sock>open-ils.pcrud.sock</unix_sock>
930 <unix_pid>open-ils.pcrud.pid</unix_pid>
931 <max_requests>1000</max_requests>
932 <min_children>1</min_children>
933 <max_children>15</max_children>
934 <min_spare_children>1</min_spare_children>
935 <max_spare_children>5</max_spare_children>
939 <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
940 <driver>pgsql</driver>
944 <user>postgres</user>
945 <host>localhost</host>
949 <client_encoding>UTF-8</client_encoding>
950 <application_name>open-ils.pcrud</application_name>
956 <keepalive>6</keepalive>
957 <stateless>1</stateless>
958 <language>C</language>
959 <implementation>oils_qstore.so</implementation>
961 <max_requests>1000</max_requests>
962 <min_children>1</min_children>
963 <max_children>15</max_children>
964 <min_spare_children>1</min_spare_children>
965 <max_spare_children>5</max_spare_children>
968 <driver>pgsql</driver>
972 <user>postgres</user>
973 <host>localhost</host>
977 <client_encoding>UTF-8</client_encoding>
978 <application_name>open-ils.qstore</application_name>
984 <keepalive>1</keepalive>
985 <stateless>1</stateless>
986 <language>perl</language>
987 <implementation>OpenSRF::Application::Settings</implementation>
988 <max_requests>17</max_requests>
990 <unix_sock>opensrf.settings_unix.sock</unix_sock>
991 <unix_pid>opensrf.settings_unix.pid</unix_pid>
992 <max_requests>300</max_requests>
993 <unix_log>opensrf.settings_unix.log</unix_log>
994 <min_children>5</min_children>
995 <max_children>15</max_children>
996 <min_spare_children>3</min_spare_children>
997 <max_spare_children>5</max_spare_children>
1001 <open-ils.collections>
1002 <keepalive>3</keepalive>
1003 <stateless>1</stateless>
1004 <language>perl</language>
1005 <implementation>OpenILS::Application::Collections</implementation>
1006 <max_requests>17</max_requests>
1008 <unix_sock>open-ils.collections_unix.sock</unix_sock>
1009 <unix_pid>open-ils.collections_unix.pid</unix_pid>
1010 <max_requests>1000</max_requests>
1011 <unix_log>open-ils.collections_unix.log</unix_log>
1012 <min_children>1</min_children>
1013 <max_children>10</max_children>
1014 <min_spare_children>1</min_spare_children>
1015 <max_spare_children>5</max_spare_children>
1018 <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1019 <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1021 </open-ils.collections>
1024 <keepalive>3</keepalive>
1025 <stateless>1</stateless>
1026 <language>perl</language>
1027 <implementation>OpenILS::Application::Reporter</implementation>
1028 <max_requests>99</max_requests>
1030 <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1031 <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1032 <max_requests>1000</max_requests>
1033 <unix_log>open-ils.reporter_unix.log</unix_log>
1034 <min_children>1</min_children>
1035 <max_children>10</max_children>
1036 <min_spare_children>1</min_spare_children>
1037 <max_spare_children>5</max_spare_children>
1039 </open-ils.reporter>
1041 <open-ils.reporter-store>
1042 <keepalive>6</keepalive>
1043 <stateless>1</stateless>
1044 <language>C</language>
1045 <implementation>oils_rstore.so</implementation>
1047 <max_requests>400</max_requests>
1048 <min_children>1</min_children>
1049 <max_children>10</max_children>
1050 <min_spare_children>1</min_spare_children>
1051 <max_spare_children>5</max_spare_children>
1054 <driver>pgsql</driver>
1058 <user>postgres</user>
1059 <host>localhost</host>
1063 <client_encoding>UTF-8</client_encoding>
1064 <application_name>open-ils.reporter-store</application_name>
1067 </open-ils.reporter-store>
1069 <!-- resolver_type defaults to sfx but can also be cufts -->
1072 <keepalive>3</keepalive>
1073 <stateless>1</stateless>
1074 <language>perl</language>
1075 <implementation>OpenILS::Application::ResolverResolver</implementation>
1076 <max_requests>93</max_requests>
1078 <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1079 <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1080 <max_requests>1000</max_requests>
1081 <unix_log>open-ils.resolver_unix.log</unix_log>
1082 <min_children>5</min_children>
1083 <max_children>15</max_children>
1084 <min_spare_children>3</min_spare_children>
1085 <max_spare_children>5</max_spare_children>
1088 <cache_timeout>86400</cache_timeout>
1089 <request_timeout>10</request_timeout>
1090 <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1091 <resolver_type>sfx</resolver_type>
1093 </open-ils.resolver>
1096 <open-ils.permacrud>
1097 <keepalive>3</keepalive>
1098 <stateless>1</stateless>
1099 <language>perl</language>
1100 <implementation>OpenILS::Application::PermaCrud</implementation>
1101 <max_requests>17</max_requests>
1103 <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1104 <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1105 <max_requests>1000</max_requests>
1106 <unix_log>open-ils.permacrud_unix.log</unix_log>
1107 <min_children>5</min_children>
1108 <max_children>15</max_children>
1109 <min_spare_children>3</min_spare_children>
1110 <max_spare_children>5</max_spare_children>
1112 </open-ils.permacrud>
1115 <keepalive>3</keepalive>
1116 <stateless>1</stateless>
1117 <language>perl</language>
1118 <implementation>OpenILS::Application::Fielder</implementation>
1119 <max_requests>17</max_requests>
1121 <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1122 <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1123 <max_requests>1000</max_requests>
1124 <unix_log>open-ils.fielder_unix.log</unix_log>
1125 <min_children>5</min_children>
1126 <max_children>15</max_children>
1127 <min_spare_children>3</min_spare_children>
1128 <max_spare_children>5</max_spare_children>
1133 <keepalive>5</keepalive>
1134 <stateless>1</stateless>
1135 <language>perl</language>
1136 <implementation>OpenILS::Application::Vandelay</implementation>
1137 <max_requests>100</max_requests>
1139 <unix_sock>vandelay_unix.sock</unix_sock>
1140 <unix_pid>vandelay_unix.pid</unix_pid>
1141 <unix_log>vandelay_unix.log</unix_log>
1142 <max_requests>100</max_requests>
1143 <min_children>1</min_children>
1144 <max_children>15</max_children>
1145 <min_spare_children>1</min_spare_children>
1146 <max_spare_children>5</max_spare_children>
1150 <!-- temporary location for MARC import files.
1151 Files will be deleted after records are spooled.
1152 *note: in a multi-brick environment, this will need to
1153 be on a write-able NFS share. -->
1154 <importer>/tmp</importer>
1157 </open-ils.vandelay>
1160 <keepalive>3</keepalive>
1161 <stateless>1</stateless>
1162 <language>perl</language>
1163 <implementation>OpenILS::Application::Serial</implementation>
1164 <max_requests>17</max_requests>
1166 <unix_sock>open-ils.serial_unix.sock</unix_sock>
1167 <unix_pid>open-ils.serial_unix.pid</unix_pid>
1168 <max_requests>1000</max_requests>
1169 <unix_log>open-ils.serial_unix.log</unix_log>
1170 <min_children>5</min_children>
1171 <max_children>15</max_children>
1172 <min_spare_children>3</min_spare_children>
1173 <max_spare_children>5</max_spare_children>
1186 Should match the fully qualified domain name of the host.
1188 On Linux, the output of the following command is authoritative:
1189 $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1191 To use 'localhost' instead, run osrf_control with the 'localhost' flag
1195 <!-- services hosted on this machine -->
1196 <appname>opensrf.settings</appname>
1197 <appname>opensrf.math</appname>
1198 <appname>opensrf.dbmath</appname>
1199 <appname>open-ils.acq</appname>
1200 <appname>open-ils.booking</appname>
1201 <appname>open-ils.cat</appname>
1202 <appname>open-ils.supercat</appname>
1203 <appname>open-ils.search</appname>
1204 <appname>open-ils.circ</appname>
1205 <appname>open-ils.actor</appname>
1206 <appname>open-ils.auth</appname>
1207 <appname>open-ils.auth_internal</appname>
1208 <appname>open-ils.auth_proxy</appname>
1209 <appname>open-ils.storage</appname>
1210 <appname>open-ils.justintime</appname>
1211 <appname>open-ils.cstore</appname>
1212 <appname>open-ils.collections</appname>
1213 <appname>open-ils.reporter</appname>
1214 <appname>open-ils.reporter-store</appname>
1215 <!-- <appname>open-ils.resolver</appname> -->
1216 <appname>open-ils.permacrud</appname>
1217 <appname>open-ils.pcrud</appname>
1218 <appname>open-ils.trigger</appname>
1219 <appname>open-ils.url_verify</appname>
1220 <appname>open-ils.fielder</appname>
1221 <appname>open-ils.vandelay</appname>
1222 <appname>open-ils.serial</appname>