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>Clark Kent (reports)</application_name>
166 <host>localhost</host>
169 <user>postgres</user>
171 <application_name>Clark Kent (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.
237 These settings are used by the OpenILS::Utils::HTTPClient module
238 when communicating with external services (e.g. third-party APIs)
239 over HTTP. Values are passed along to LWP::UserAgent.
242 <!-- custom useragent for HTTP requests
243 <useragent>Evergreen</useragent>
246 <!-- default timeout value (in seconds) -->
247 <default_timeout>60</default_timeout>
251 When using HTTPS, verify that the external server has a valid
252 SSL certificate matching the expected hostname. (Set to 0 to
253 disable verification, 1 to enable it.)
255 <verify_hostname>1</verify_hostname>
258 If verify_hostname is enabled, you may need to specify a path
259 for CA certificates installed on your system. Use ONE of the
260 following settings. See LWP::UserAgent docs for details.
261 <SSL_ca_path>/etc/ssl/certs</SSL_ca_path>
262 <SSL_ca_file>/etc/ssl/certs/ca-certificates.crt</SSL_ca_file>
269 <!-- load the OpenLibrary added content module -->
270 <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
273 Max number of seconds to wait for an added content request to
274 return data. Data not returned within the timeout is considered
277 Note that the pool of Apache processes used by the AddedContent
278 module is the same pool used by core Evergreen processes such as
279 search, circulation, etc. Therefore, the higher you set this
280 timeout value, the more likely you are to run out of available
281 Apache processes resulting in an accidental (or purposeful) denial
282 of service - particularly if the added content server starts
283 responding abnormally slowly.
285 The safest option is to disable the AddedContent module completely,
286 but 3 seconds is a compromise between the threat of a denial of
287 service and the enhanced user experience offered by successful added
293 After added content lookups have been disabled due to too many
294 lookup failures, this is the amount of time to wait before
297 <retry_timeout>600</retry_timeout>
300 maximum number of consecutive lookup errors a given process can
301 have before added content lookups are disabled for everyone
303 <max_errors>15</max_errors>
305 <!-- If a userid is required to access the added content.. -->
306 <userid>MY_USER_ID</userid>
309 Base URL for Amazon added content fetching. Not needed by OpenLibrary
310 <base_url>http://images.amazon.com/images/P/</base_url>
314 Segregating the details for ContentCafe out for easier use. At some point, we
315 may want to support multiple services at one time.
318 <userid>MY_USER_ID</userid>
319 <password>MY_PASSWORD</password>
322 Which order to put identifiers in.
323 Default is "isbn,upc", ignoring currently unsupported issn.
324 Should be all lowercase.
325 Remove an identifier from the list to skip it.
327 <identifier_order>isbn,upc</identifier_order>
331 Segregating the details for obalkyknih.cz out for easier use.
334 <!-- Covers are there always -->
336 <!-- Annotations provided by obalkyknih.cz is mapped to evergreen summary -->
337 <summary>false</summary>
339 <!-- Provider obalkyknih.cz provides TOC as text and as PDF plus thumbnail -->
340 <tocPdf>true</tocPdf>
341 <tocText>false</tocText>
343 <!-- User reviews from obalkyknih.cz -->
344 <reviews>true</reviews>
350 You can add free-form settings here and they will be accessible
351 within the added content module
356 <!-- Config section for acq_order_reader.pl script.
357 It reads MARC order record files from disk (presumably
358 an FTP destination) and pushes the order records into ACQ.
362 <!-- Root directory for all FTP'd ACQ order record files .
363 If the script is configured to talk to a remote acq server,
364 this directory has to be a read/write NFS share. -->
365 <base_dir>/openils/var/data/acq_orders/</base_dir>
367 <!-- any files found in the shared subdir must be inspected
368 (e.g. file name prefix) to determine the provider. -->
369 <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
371 <!-- providers that don't provide a mechanism to inspect the file
372 have to push their files to provider-specific locations -->
374 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
375 <provider_code>BAB</provider_code>
376 <provider_owner>CONS</provider_owner> <!-- provider provider_owner; org unit shortname -->
377 <subdir>CONS-BAB</subdir> <!-- file directory; full path = base_dir + subdir -->
378 <activate_po>false</activate_po> <!-- activate PO at upload? -->
380 <import_no_match>true</import_no_match>
381 <!-- Most Vandelay options are supported. For bools, use true/false.
390 auto_overlay_best_match
395 <!-- Add more as needed...
404 <!-- no apps are enabled globally by default -->
408 <!-- memcache servers -->
411 <server>127.0.0.1:11211</server>
413 <max_cache_time>86400</max_cache_time>
416 <!-- anonymous cache. currently, primarily used for web session caching -->
418 <server>127.0.0.1:11211</server>
420 <max_cache_time>1800</max_cache_time>
421 <!-- maximum size of a single cache entry / default = 100k-->
422 <max_cache_size>102400</max_cache_size>
427 <!-- Acquisitions server -->
429 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
430 <keepalive>5</keepalive>
431 <!-- true if this service support stateless requests -->
432 <stateless>1</stateless>
433 <!-- implementation language -->
434 <language>perl</language>
435 <!-- name of the library that implements this application -->
436 <implementation>OpenILS::Application::Acq</implementation>
437 <!-- maximum OpenSRF REQUEST within a stateful connection -->
438 <max_requests>100</max_requests>
441 maximum number of top level requests coming to
442 this child before the child is recycled
444 <max_requests>100</max_requests>
445 <!-- min children to fork -->
446 <min_children>1</min_children>
447 <!-- max possible children to fork -->
448 <max_children>15</max_children>
450 C forking implementation does not support
451 min/max idle children, but may in the future
454 <!-- min idle children -->
455 <min_spare_children>1</min_spare_children>
456 <!-- max idle children -->
457 <max_spare_children>5</max_spare_children>
458 <!-- currently, only Perl uses the following 3 settings -->
459 <unix_sock>open-ils.acq_unix.sock</unix_sock>
460 <unix_pid>open-ils.acq_unix.pid</unix_pid>
461 <unix_log>open-ils.acq_unix.log</unix_log>
465 <!-- Authentication server -->
467 <keepalive>5</keepalive>
468 <stateless>1</stateless>
469 <language>c</language>
470 <implementation>liboils_auth.so</implementation>
472 <max_requests>1000</max_requests>
473 <min_children>1</min_children>
474 <max_children>15</max_children>
475 <min_spare_children>1</min_spare_children>
476 <max_spare_children>5</max_spare_children>
479 <!-- defined app-specific settings here -->
481 <seed>30</seed> <!-- amount of time a seed request is valid for -->
482 <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
483 <block_count>10</block_count> <!-- number of failures before blocking access -->
488 <!-- Internal authentication server -->
489 <open-ils.auth_internal>
490 <keepalive>5</keepalive>
491 <stateless>1</stateless>
492 <language>c</language>
493 <implementation>liboils_auth_internal.so</implementation>
495 <max_requests>1000</max_requests>
496 <min_children>1</min_children>
497 <max_children>15</max_children>
498 <min_spare_children>1</min_spare_children>
499 <max_spare_children>5</max_spare_children>
502 <!-- defined app-specific settings here -->
504 <!-- default login timeouts based on login type -->
508 <persist>2 weeks</persist>
511 </open-ils.auth_internal>
515 <!-- Authentication proxy server -->
516 <open-ils.auth_proxy>
517 <keepalive>5</keepalive>
518 <stateless>1</stateless>
519 <language>perl</language>
520 <implementation>OpenILS::Application::AuthProxy</implementation>
521 <max_requests>93</max_requests>
524 <max_requests>1000</max_requests>
525 <unix_log>open-ils.auth-proxy_unix.log</unix_log>
526 <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
527 <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
528 <min_children>1</min_children>
529 <max_children>15</max_children>
530 <min_spare_children>1</min_spare_children>
531 <max_spare_children>5</max_spare_children>
535 <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
536 <enabled>false</enabled>
538 <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
542 <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
543 <hostname>name.domain.com</hostname>
544 <basedn>ou=people,dc=domain,dc=com</basedn>
545 <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
546 <id_attr>uid</id_attr>
547 <bind_attr>uid</bind_attr>
548 <password>my_ldap_password_for_authid_user</password>
560 <!-- 'native' is a proxied version of Evergreen's standard authentication -->
563 <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
567 </open-ils.auth_proxy>
569 <!-- Generic search server -->
571 <keepalive>5</keepalive>
572 <stateless>1</stateless>
573 <language>perl</language>
574 <implementation>OpenILS::Application::Search</implementation>
575 <max_requests>93</max_requests>
577 <unix_sock>open-ils.search_unix.sock</unix_sock>
578 <unix_pid>open-ils.search_unix.pid</unix_pid>
579 <unix_log>open-ils.search_unix.log</unix_log>
581 <max_requests>1000</max_requests>
582 <min_children>1</min_children>
583 <max_children>15</max_children>
584 <min_spare_children>1</min_spare_children>
585 <max_spare_children>5</max_spare_children>
588 <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
589 <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
591 <spelling_dictionary>
593 Optionally configure different dictionaries depending on search context.
594 If no dictionaries are defined, the default Aspell dictionary is used.
597 <default>LOCALSTATEDIR/data/default_dict.txt</default>
598 <title>LOCALSTATEDIR/data/title_dict.txt</title>
599 <author>LOCALSTATEDIR/data/author_dict.txt</author>
600 <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
601 <series>LOCALSTATEDIR/data/series_dict.txt</series>
603 </spelling_dictionary>
605 <!-- Default to using staged search -->
606 <use_staged_search>true</use_staged_search>
609 For staged search, we estimate hits based on inclusion or exclusion.
612 inclusion - visible ratio on superpage
613 exclusion - excluded ratio on superpage
614 delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
615 delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
617 Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
618 will return the same value +/- 1. The exclusion strategy is the original, and works well
619 when there are few deleted or excluded records, in other words, when the superpage is not
620 sparsely populated with visible records.
622 <estimation_strategy>inclusion</estimation_strategy>
625 Evergreen uses a cover density algorithm for calculating relative ranking of matches. There
626 are several tuning parameters and options available. By default, no document length normalization
627 is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
629 Since a longer document has a greater chance of containing a query term it is reasonable
630 to take into account document size, e.g., a hundred-word document with five instances of
631 a search word is probably more relevant than a thousand-word document with five instances.
632 Both ranking functions take an integer normalization option that specifies whether and how
633 a document's length should impact its rank. The integer option controls several behaviors,
634 so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
636 0 (the default) ignores the document length
638 1 divides the rank by 1 + the logarithm of the document length
640 2 divides the rank by the document length
642 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
644 8 divides the rank by the number of unique words in document
646 16 divides the rank by 1 + the logarithm of the number of unique words in document
648 32 divides the rank by itself + 1
650 If more than one flag bit is specified, the transformations are applied in the order listed.
652 It is important to note that the ranking functions do not use any global information, so it
653 is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization
654 option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of
655 course this is just a cosmetic change; it will not affect the ordering of the search results.
657 In Evergreen, these options are set via search modifiers. The modifiers are mapped in the
660 * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant
661 * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant
662 * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant
663 * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant
664 * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant
665 * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1
667 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
669 <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
672 default_preferred_language
673 Set the global, default preferred languange
675 <default_preferred_language>eng</default_preferred_language>
678 default_preferred_language_weight
679 Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
681 <default_preferred_language_weight>5</default_preferred_language_weight>
683 <!-- Baseline number of records to check for hit estimation. -->
684 <superpage_size>1000</superpage_size>
686 <!-- How many superpages to consider for searching overall. -->
687 <max_superpages>100</max_superpages>
689 <!-- zip code database file -->
690 <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
694 <!-- server for accessing user info -->
696 <keepalive>5</keepalive>
697 <stateless>1</stateless>
698 <language>perl</language>
699 <implementation>OpenILS::Application::Actor</implementation>
700 <max_requests>93</max_requests>
702 <unix_sock>open-ils.actor_unix.sock</unix_sock>
703 <unix_pid>open-ils.actor_unix.pid</unix_pid>
704 <max_requests>1000</max_requests>
705 <unix_log>open-ils.actor_unix.log</unix_log>
706 <min_children>1</min_children>
707 <max_children>15</max_children>
708 <min_spare_children>1</min_spare_children>
709 <max_spare_children>5</max_spare_children>
711 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
713 <id_as_barcode>false</id_as_barcode>
719 <keepalive>5</keepalive>
720 <stateless>1</stateless>
721 <language>perl</language>
722 <implementation>OpenILS::Application::Booking</implementation>
723 <max_requests>199</max_requests>
725 <unix_sock>open-ils.booking_unix.sock</unix_sock>
726 <unix_pid>open-ils.booking_unix.pid</unix_pid>
727 <max_requests>1000</max_requests>
728 <unix_log>open-ils.booking_unix.log</unix_log>
729 <min_children>1</min_children>
730 <max_children>15</max_children>
731 <min_spare_children>1</min_spare_children>
732 <max_spare_children>5</max_spare_children>
739 <keepalive>5</keepalive>
740 <stateless>1</stateless>
741 <language>perl</language>
742 <implementation>OpenILS::Application::Cat</implementation>
743 <max_requests>199</max_requests>
745 <unix_sock>open-ils.cat_unix.sock</unix_sock>
746 <unix_pid>open-ils.cat_unix.pid</unix_pid>
747 <max_requests>1000</max_requests>
748 <unix_log>open-ils.cat_unix.log</unix_log>
749 <min_children>1</min_children>
750 <max_children>15</max_children>
751 <min_spare_children>1</min_spare_children>
752 <max_spare_children>5</max_spare_children>
756 <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
762 <keepalive>5</keepalive>
763 <stateless>1</stateless>
764 <language>perl</language>
765 <implementation>OpenILS::Application::SuperCat</implementation>
766 <max_requests>199</max_requests>
768 <unix_sock>open-ils.supercat_unix.sock</unix_sock>
769 <unix_pid>open-ils.supercat_unix.pid</unix_pid>
770 <max_requests>1000</max_requests>
771 <unix_log>open-ils.supercat_unix.log</unix_log>
772 <min_children>1</min_children>
773 <max_children>15</max_children>
774 <min_spare_children>1</min_spare_children>
775 <max_spare_children>5</max_spare_children>
779 <!-- server for accessing user info -->
781 <keepalive>5</keepalive>
782 <stateless>1</stateless>
783 <language>perl</language>
784 <implementation>OpenILS::Application::Trigger</implementation>
785 <max_requests>93</max_requests>
787 <unix_sock>open-ils.trigger_unix.sock</unix_sock>
788 <unix_pid>open-ils.trigger_unix.pid</unix_pid>
789 <max_requests>1000</max_requests>
790 <unix_log>open-ils.trigger_unix.log</unix_log>
791 <min_children>1</min_children>
792 <max_children>15</max_children>
793 <min_spare_children>1</min_spare_children>
794 <max_spare_children>5</max_spare_children>
797 <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
807 <open-ils.url_verify>
808 <keepalive>5</keepalive>
809 <stateless>1</stateless>
810 <language>perl</language>
811 <implementation>OpenILS::Application::URLVerify</implementation>
812 <max_requests>199</max_requests>
814 <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
815 <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
816 <max_requests>1000</max_requests>
817 <unix_log>open-ils.url_verify_unix.log</unix_log>
818 <min_children>1</min_children>
819 <max_children>15</max_children>
820 <min_spare_children>1</min_spare_children>
821 <max_spare_children>5</max_spare_children>
824 <user_agent>Evergreen %s Link Checker</user_agent>
826 </open-ils.url_verify>
829 <keepalive>3</keepalive>
830 <stateless>1</stateless>
831 <language>c</language>
832 <implementation>libosrf_math.so</implementation>
834 <unix_sock>opensrf.math_unix.sock</unix_sock>
835 <unix_pid>opensrf.math_unix.pid</unix_pid>
836 <max_requests>1000</max_requests>
837 <unix_log>opensrf.math_unix.log</unix_log>
838 <min_children>1</min_children>
839 <max_children>15</max_children>
840 <min_spare_children>1</min_spare_children>
841 <max_spare_children>5</max_spare_children>
846 <keepalive>3</keepalive>
847 <stateless>1</stateless>
848 <language>c</language>
849 <implementation>libosrf_dbmath.so</implementation>
851 <max_requests>1000</max_requests>
852 <unix_log>opensrf.dbmath_unix.log</unix_log>
853 <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
854 <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
855 <min_children>1</min_children>
856 <max_children>15</max_children>
857 <min_spare_children>1</min_spare_children>
858 <max_spare_children>5</max_spare_children>
862 <open-ils.justintime>
863 <keepalive>5</keepalive>
864 <stateless>1</stateless>
865 <language>perl</language>
866 <implementation>OpenILS::Application::JustInTime</implementation>
867 <max_requests>199</max_requests>
869 <unix_sock>open-ils.justintime_unix.sock</unix_sock>
870 <unix_pid>open-ils.justintime_unix.pid</unix_pid>
871 <max_requests>1000</max_requests>
872 <unix_log>open-ils.justintime_unix.log</unix_log>
873 <min_children>1</min_children>
874 <max_children>15</max_children>
875 <min_spare_children>1</min_spare_children>
876 <max_spare_children>5</max_spare_children>
880 </open-ils.justintime>
883 <keepalive>3</keepalive>
884 <stateless>1</stateless>
885 <language>perl</language>
886 <implementation>OpenILS::Application::Circ</implementation>
887 <max_requests>99</max_requests>
889 <max_requests>1000</max_requests>
890 <unix_log>open-ils.circ_unix.log</unix_log>
891 <unix_sock>open-ils.circ_unix.sock</unix_sock>
892 <unix_pid>open-ils.circ_unix.pid</unix_pid>
893 <min_children>1</min_children>
894 <max_children>15</max_children>
895 <min_spare_children>1</min_spare_children>
896 <max_spare_children>5</max_spare_children>
900 <email>false</email> <!-- set to false to disable hold notice emails -->
906 <keepalive>10</keepalive>
907 <stateless>1</stateless>
908 <language>perl</language>
909 <implementation>OpenILS::Application::Storage</implementation>
911 <max_requests>1000</max_requests>
912 <unix_log>open-ils.storage_unix.log</unix_log>
913 <unix_sock>open-ils.storage_unix.sock</unix_sock>
914 <unix_pid>open-ils.storage_unix.pid</unix_pid>
915 <min_children>1</min_children>
916 <max_children>10</max_children>
917 <min_spare_children>1</min_spare_children>
918 <max_spare_children>5</max_spare_children>
921 <script_path>LIBDIR/javascript/</script_path>
922 <script_path>LOCALSTATEDIR/catalog/</script_path>
924 <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
931 <user>postgres</user>
932 <host>localhost</host>
936 <client_encoding>UTF-8</client_encoding>
937 <application_name>open-ils.storage</application_name>
944 <keepalive>6</keepalive>
945 <stateless>1</stateless>
946 <language>C</language>
947 <implementation>liboils_cstore.so</implementation>
949 <max_requests>1000</max_requests>
950 <min_children>1</min_children>
951 <max_children>15</max_children>
952 <min_spare_children>1</min_spare_children>
953 <max_spare_children>5</max_spare_children>
956 <max_query_recursion>100</max_query_recursion>
957 <driver>pgsql</driver>
961 <user>postgres</user>
962 <host>localhost</host>
966 <client_encoding>UTF-8</client_encoding>
967 <application_name>open-ils.cstore</application_name>
973 <keepalive>6</keepalive>
974 <migratable>1</migratable>
975 <stateless>1</stateless>
976 <language>C</language>
977 <implementation>liboils_pcrud.so</implementation>
980 <unix_log>open-ils.pcrud.log</unix_log>
981 <unix_sock>open-ils.pcrud.sock</unix_sock>
982 <unix_pid>open-ils.pcrud.pid</unix_pid>
983 <max_requests>1000</max_requests>
984 <min_children>1</min_children>
985 <max_children>15</max_children>
986 <min_spare_children>1</min_spare_children>
987 <max_spare_children>5</max_spare_children>
991 <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
992 <driver>pgsql</driver>
996 <user>postgres</user>
997 <host>localhost</host>
1001 <client_encoding>UTF-8</client_encoding>
1002 <application_name>open-ils.pcrud</application_name>
1008 <keepalive>6</keepalive>
1009 <stateless>1</stateless>
1010 <language>C</language>
1011 <implementation>liboils_qstore.so</implementation>
1013 <max_requests>1000</max_requests>
1014 <min_children>1</min_children>
1015 <max_children>15</max_children>
1016 <min_spare_children>1</min_spare_children>
1017 <max_spare_children>5</max_spare_children>
1020 <driver>pgsql</driver>
1024 <user>postgres</user>
1025 <host>localhost</host>
1029 <client_encoding>UTF-8</client_encoding>
1030 <application_name>open-ils.qstore</application_name>
1036 <keepalive>1</keepalive>
1037 <stateless>1</stateless>
1038 <language>perl</language>
1039 <implementation>OpenSRF::Application::Settings</implementation>
1040 <max_requests>17</max_requests>
1042 <unix_sock>opensrf.settings_unix.sock</unix_sock>
1043 <unix_pid>opensrf.settings_unix.pid</unix_pid>
1044 <max_requests>300</max_requests>
1045 <unix_log>opensrf.settings_unix.log</unix_log>
1046 <min_children>5</min_children>
1047 <max_children>15</max_children>
1048 <min_spare_children>3</min_spare_children>
1049 <max_spare_children>5</max_spare_children>
1053 <open-ils.collections>
1054 <keepalive>3</keepalive>
1055 <stateless>1</stateless>
1056 <language>perl</language>
1057 <implementation>OpenILS::Application::Collections</implementation>
1058 <max_requests>17</max_requests>
1060 <unix_sock>open-ils.collections_unix.sock</unix_sock>
1061 <unix_pid>open-ils.collections_unix.pid</unix_pid>
1062 <max_requests>1000</max_requests>
1063 <unix_log>open-ils.collections_unix.log</unix_log>
1064 <min_children>1</min_children>
1065 <max_children>10</max_children>
1066 <min_spare_children>1</min_spare_children>
1067 <max_spare_children>5</max_spare_children>
1070 <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1071 <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1073 </open-ils.collections>
1076 <keepalive>3</keepalive>
1077 <stateless>1</stateless>
1078 <language>perl</language>
1079 <implementation>OpenILS::Application::Reporter</implementation>
1080 <max_requests>99</max_requests>
1082 <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1083 <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1084 <max_requests>1000</max_requests>
1085 <unix_log>open-ils.reporter_unix.log</unix_log>
1086 <min_children>1</min_children>
1087 <max_children>10</max_children>
1088 <min_spare_children>1</min_spare_children>
1089 <max_spare_children>5</max_spare_children>
1091 </open-ils.reporter>
1093 <open-ils.reporter-store>
1094 <keepalive>6</keepalive>
1095 <stateless>1</stateless>
1096 <language>C</language>
1097 <implementation>liboils_rstore.so</implementation>
1099 <max_requests>400</max_requests>
1100 <min_children>1</min_children>
1101 <max_children>10</max_children>
1102 <min_spare_children>1</min_spare_children>
1103 <max_spare_children>5</max_spare_children>
1106 <driver>pgsql</driver>
1110 <user>postgres</user>
1111 <host>localhost</host>
1115 <client_encoding>UTF-8</client_encoding>
1116 <application_name>open-ils.reporter-store</application_name>
1119 </open-ils.reporter-store>
1121 <!-- resolver_type defaults to sfx but can also be cufts -->
1124 <keepalive>3</keepalive>
1125 <stateless>1</stateless>
1126 <language>perl</language>
1127 <implementation>OpenILS::Application::ResolverResolver</implementation>
1128 <max_requests>93</max_requests>
1130 <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1131 <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1132 <max_requests>1000</max_requests>
1133 <unix_log>open-ils.resolver_unix.log</unix_log>
1134 <min_children>5</min_children>
1135 <max_children>15</max_children>
1136 <min_spare_children>3</min_spare_children>
1137 <max_spare_children>5</max_spare_children>
1140 <cache_timeout>86400</cache_timeout>
1141 <request_timeout>10</request_timeout>
1142 <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1143 <resolver_type>sfx</resolver_type>
1145 </open-ils.resolver>
1148 <open-ils.permacrud>
1149 <keepalive>3</keepalive>
1150 <stateless>1</stateless>
1151 <language>perl</language>
1152 <implementation>OpenILS::Application::PermaCrud</implementation>
1153 <max_requests>17</max_requests>
1155 <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1156 <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1157 <max_requests>1000</max_requests>
1158 <unix_log>open-ils.permacrud_unix.log</unix_log>
1159 <min_children>5</min_children>
1160 <max_children>15</max_children>
1161 <min_spare_children>3</min_spare_children>
1162 <max_spare_children>5</max_spare_children>
1164 </open-ils.permacrud>
1167 <keepalive>3</keepalive>
1168 <stateless>1</stateless>
1169 <language>perl</language>
1170 <implementation>OpenILS::Application::Fielder</implementation>
1171 <max_requests>17</max_requests>
1173 <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1174 <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1175 <max_requests>1000</max_requests>
1176 <unix_log>open-ils.fielder_unix.log</unix_log>
1177 <min_children>5</min_children>
1178 <max_children>15</max_children>
1179 <min_spare_children>3</min_spare_children>
1180 <max_spare_children>5</max_spare_children>
1185 <keepalive>5</keepalive>
1186 <stateless>1</stateless>
1187 <language>perl</language>
1188 <implementation>OpenILS::Application::Vandelay</implementation>
1189 <max_requests>100</max_requests>
1191 <unix_sock>vandelay_unix.sock</unix_sock>
1192 <unix_pid>vandelay_unix.pid</unix_pid>
1193 <unix_log>vandelay_unix.log</unix_log>
1194 <max_requests>100</max_requests>
1195 <min_children>1</min_children>
1196 <max_children>15</max_children>
1197 <min_spare_children>1</min_spare_children>
1198 <max_spare_children>5</max_spare_children>
1202 <!-- temporary location for MARC import files.
1203 Files will be deleted after records are spooled.
1204 *note: in a multi-brick environment, this will need to
1205 be on a write-able NFS share. -->
1206 <importer>/tmp</importer>
1209 </open-ils.vandelay>
1212 <keepalive>3</keepalive>
1213 <stateless>1</stateless>
1214 <language>perl</language>
1215 <implementation>OpenILS::Application::Serial</implementation>
1216 <max_requests>17</max_requests>
1218 <unix_sock>open-ils.serial_unix.sock</unix_sock>
1219 <unix_pid>open-ils.serial_unix.pid</unix_pid>
1220 <max_requests>1000</max_requests>
1221 <unix_log>open-ils.serial_unix.log</unix_log>
1222 <min_children>5</min_children>
1223 <max_children>15</max_children>
1224 <min_spare_children>3</min_spare_children>
1225 <max_spare_children>5</max_spare_children>
1231 <open-ils.hold-targeter>
1232 <keepalive>3</keepalive>
1233 <stateless>1</stateless>
1234 <language>perl</language>
1235 <implementation>OpenILS::Application::HoldTargeter</implementation>
1236 <max_requests>17</max_requests>
1238 <unix_sock>open-ils.hold-targeter_unix.sock</unix_sock>
1239 <unix_pid>open-ils.hold-targeter_unix.pid</unix_pid>
1240 <max_requests>1000</max_requests>
1241 <unix_log>open-ils.hold-targeter_unix.log</unix_log>
1242 <min_children>1</min_children>
1243 <max_children>15</max_children>
1244 <min_spare_children>1</min_spare_children>
1245 <max_spare_children>5</max_spare_children>
1249 </open-ils.hold-targeter>
1251 <open-ils.ebook_api>
1252 <keepalive>5</keepalive>
1253 <stateless>1</stateless>
1254 <language>perl</language>
1255 <implementation>OpenILS::Application::EbookAPI</implementation>
1256 <max_requests>100</max_requests>
1258 <unix_sock>ebook_api_unix.sock</unix_sock>
1259 <unix_pid>ebook_api_unix.pid</unix_pid>
1260 <unix_log>ebook_api_unix.log</unix_log>
1261 <max_requests>100</max_requests>
1262 <min_children>1</min_children>
1263 <max_children>15</max_children>
1264 <min_spare_children>1</min_spare_children>
1265 <max_spare_children>5</max_spare_children>
1268 <cache_timeout>300</cache_timeout>
1269 <request_timeout>60</request_timeout>
1271 </open-ils.ebook_api>
1279 Should match the fully qualified domain name of the host.
1281 On Linux, the output of the following command is authoritative:
1282 $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1284 To use 'localhost' instead, run osrf_control with the 'localhost' flag
1288 <!-- services hosted on this machine -->
1289 <appname>opensrf.settings</appname>
1290 <appname>opensrf.math</appname>
1291 <appname>opensrf.dbmath</appname>
1292 <appname>open-ils.acq</appname>
1293 <appname>open-ils.booking</appname>
1294 <appname>open-ils.cat</appname>
1295 <appname>open-ils.supercat</appname>
1296 <appname>open-ils.search</appname>
1297 <appname>open-ils.circ</appname>
1298 <appname>open-ils.actor</appname>
1299 <appname>open-ils.auth</appname>
1300 <appname>open-ils.auth_internal</appname>
1301 <appname>open-ils.auth_proxy</appname>
1302 <appname>open-ils.storage</appname>
1303 <appname>open-ils.justintime</appname>
1304 <appname>open-ils.cstore</appname>
1305 <appname>open-ils.collections</appname>
1306 <appname>open-ils.qstore</appname>
1307 <appname>open-ils.reporter</appname>
1308 <appname>open-ils.reporter-store</appname>
1309 <!-- <appname>open-ils.resolver</appname> -->
1310 <appname>open-ils.permacrud</appname>
1311 <appname>open-ils.pcrud</appname>
1312 <appname>open-ils.trigger</appname>
1313 <appname>open-ils.url_verify</appname>
1314 <appname>open-ils.fielder</appname>
1315 <appname>open-ils.vandelay</appname>
1316 <appname>open-ils.serial</appname>
1317 <appname>open-ils.hold-targeter</appname>
1318 <appname>open-ils.ebook_api</appname>