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.
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>
298 Segregating the details for obalkyknih.cz out for easier use.
301 <!-- Covers are there always -->
303 <!-- Annotations provided by obalkyknih.cz is mapped to evergreen summary -->
304 <summary>false</summary>
306 <!-- Provider obalkyknih.cz provides TOC as text and as PDF plus thumbnail -->
307 <tocPdf>true</tocPdf>
308 <tocText>false</tocText>
310 <!-- User reviews from obalkyknih.cz -->
311 <reviews>true</reviews>
317 You can add free-form settings here and they will be accessible
318 within the added content module
323 <!-- Config section for acq_order_reader.pl script.
324 It reads MARC order record files from disk (presumably
325 an FTP destination) and pushes the order records into ACQ.
329 <!-- Root directory for all FTP'd ACQ order record files .
330 If the script is configured to talk to a remote acq server,
331 this directory has to be a read/write NFS share. -->
332 <base_dir>/openils/var/data/acq_orders/</base_dir>
334 <!-- any files found in the shared subdir must be inspected
335 (e.g. file name prefix) to determine the provider. -->
336 <shared_subdir>ALL</shared_subdir><!-- SUPPORT PENDING -->
338 <!-- providers that don't provide a mechanism to inspect the file
339 have to push their files to provider-specific locations -->
341 <ordering_agency>BR1</ordering_agency> <!-- who gets/manages the order -->
342 <provider_code>BAB</provider_code>
343 <provider_owner>CONS</provider_owner> <!-- provider provider_owner; org unit shortname -->
344 <subdir>CONS-BAB</subdir> <!-- file directory; full path = base_dir + subdir -->
345 <activate_po>false</activate_po> <!-- activate PO at upload? -->
347 <import_no_match>true</import_no_match>
348 <!-- Most Vandelay options are supported. For bools, use true/false.
357 auto_overlay_best_match
362 <!-- Add more as needed...
371 <!-- no apps are enabled globally by default -->
375 <!-- memcache servers -->
378 <server>127.0.0.1:11211</server>
380 <max_cache_time>86400</max_cache_time>
383 <!-- anonymous cache. currently, primarily used for web session caching -->
385 <server>127.0.0.1:11211</server>
387 <max_cache_time>1800</max_cache_time>
388 <!-- maximum size of a single cache entry / default = 100k-->
389 <max_cache_size>102400</max_cache_size>
394 <!-- Acquisitions server -->
396 <!-- how long to wait between stateful requests before the child process re-joins the pool -->
397 <keepalive>5</keepalive>
398 <!-- true if this service support stateless requests -->
399 <stateless>1</stateless>
400 <!-- implementation language -->
401 <language>perl</language>
402 <!-- name of the library that implements this application -->
403 <implementation>OpenILS::Application::Acq</implementation>
404 <!-- maximum OpenSRF REQUEST within a stateful connection -->
405 <max_requests>100</max_requests>
408 maximum number of top level requests coming to
409 this child before the child is recycled
411 <max_requests>100</max_requests>
412 <!-- min children to fork -->
413 <min_children>1</min_children>
414 <!-- max possible children to fork -->
415 <max_children>15</max_children>
417 C forking implementation does not support
418 min/max idle children, but may in the future
421 <!-- min idle children -->
422 <min_spare_children>1</min_spare_children>
423 <!-- max idle children -->
424 <max_spare_children>5</max_spare_children>
425 <!-- currently, only Perl uses the following 3 settings -->
426 <unix_sock>open-ils.acq_unix.sock</unix_sock>
427 <unix_pid>open-ils.acq_unix.pid</unix_pid>
428 <unix_log>open-ils.acq_unix.log</unix_log>
432 <!-- Authentication server -->
434 <keepalive>5</keepalive>
435 <stateless>1</stateless>
436 <language>c</language>
437 <implementation>oils_auth.so</implementation>
439 <max_requests>1000</max_requests>
440 <min_children>1</min_children>
441 <max_children>15</max_children>
442 <min_spare_children>1</min_spare_children>
443 <max_spare_children>5</max_spare_children>
446 <!-- defined app-specific settings here -->
448 <seed>30</seed> <!-- amount of time a seed request is valid for -->
449 <block_time>90</block_time> <!-- amount of time since last auth or seed request to save failure counts -->
450 <block_count>10</block_count> <!-- number of failures before blocking access -->
455 <!-- Internal authentication server -->
456 <open-ils.auth_internal>
457 <keepalive>5</keepalive>
458 <stateless>1</stateless>
459 <language>c</language>
460 <implementation>oils_auth_internal.so</implementation>
462 <max_requests>1000</max_requests>
463 <min_children>1</min_children>
464 <max_children>15</max_children>
465 <min_spare_children>1</min_spare_children>
466 <max_spare_children>5</max_spare_children>
469 <!-- defined app-specific settings here -->
471 <!-- default login timeouts based on login type -->
475 <persist>2 weeks</persist>
478 </open-ils.auth_internal>
482 <!-- Authentication proxy server -->
483 <open-ils.auth_proxy>
484 <keepalive>5</keepalive>
485 <stateless>1</stateless>
486 <language>perl</language>
487 <implementation>OpenILS::Application::AuthProxy</implementation>
488 <max_requests>93</max_requests>
491 <max_requests>1000</max_requests>
492 <unix_log>open-ils.auth-proxy_unix.log</unix_log>
493 <unix_sock>open-ils.auth-proxy_unix.sock</unix_sock>
494 <unix_pid>open-ils.auth-proxy_unix.pid</unix_pid>
495 <min_children>1</min_children>
496 <max_children>15</max_children>
497 <min_spare_children>1</min_spare_children>
498 <max_spare_children>5</max_spare_children>
502 <!-- 'enabled' is the master switch; set to 'true' to enable proxied logins -->
503 <enabled>false</enabled>
505 <!-- the following is a sample configuration for the LDAP_Auth module; please adjust as needed -->
509 <module>OpenILS::Application::AuthProxy::LDAP_Auth</module>
510 <hostname>name.domain.com</hostname>
511 <basedn>ou=people,dc=domain,dc=com</basedn>
512 <authid>cn=username,ou=specials,dc=domain,dc=com</authid>
513 <id_attr>uid</id_attr>
514 <password>my_ldap_password_for_authid_user</password>
526 <!-- 'native' is a proxied version of Evergreen's standard authentication -->
529 <!-- you can add 'login_types' and 'org_units' limits to this authenticator as well, if needed -->
533 </open-ils.auth_proxy>
535 <!-- Generic search server -->
537 <keepalive>5</keepalive>
538 <stateless>1</stateless>
539 <language>perl</language>
540 <implementation>OpenILS::Application::Search</implementation>
541 <max_requests>93</max_requests>
543 <unix_sock>open-ils.search_unix.sock</unix_sock>
544 <unix_pid>open-ils.search_unix.pid</unix_pid>
545 <unix_log>open-ils.search_unix.log</unix_log>
547 <max_requests>1000</max_requests>
548 <min_children>1</min_children>
549 <max_children>15</max_children>
550 <min_spare_children>1</min_spare_children>
551 <max_spare_children>5</max_spare_children>
554 <marc_html_xsl>oilsMARC21slim2HTML.xsl</marc_html_xsl>
555 <marc_html_xsl_slim>oilsMARC21slim2HTMLslim.xsl</marc_html_xsl_slim>
557 <spelling_dictionary>
559 Optionally configure different dictionaries depending on search context.
560 If no dictionaries are defined, the default Aspell dictionary is used.
563 <default>LOCALSTATEDIR/data/default_dict.txt</default>
564 <title>LOCALSTATEDIR/data/title_dict.txt</title>
565 <author>LOCALSTATEDIR/data/author_dict.txt</author>
566 <subject>LOCALSTATEDIR/data/subject_dict.txt</subject>
567 <series>LOCALSTATEDIR/data/series_dict.txt</series>
569 </spelling_dictionary>
571 <!-- Default to using staged search -->
572 <use_staged_search>true</use_staged_search>
575 For staged search, we estimate hits based on inclusion or exclusion.
578 inclusion - visible ratio on superpage
579 exclusion - excluded ratio on superpage
580 delete_adjusted_inclusion - included ratio on superpage, ratio adjusted by deleted count
581 delete_adjusted_exclusion - excluded ratio on superpage, ratio adjusted by deleted count
583 Under normal circumstances, inclusion is the best strategy, and both delete_adjusted variants
584 will return the same value +/- 1. The exclusion strategy is the original, and works well
585 when there are few deleted or excluded records, in other words, when the superpage is not
586 sparsely populated with visible records.
588 <estimation_strategy>inclusion</estimation_strategy>
591 Evergreen uses a cover density algorithm for calculating relative ranking of matches. There
592 are several tuning parameters and options available. By default, no document length normalization
593 is applied. From the Postgres documentation on ts_rank_cd() (the function used by Evergreen):
595 Since a longer document has a greater chance of containing a query term it is reasonable
596 to take into account document size, e.g., a hundred-word document with five instances of
597 a search word is probably more relevant than a thousand-word document with five instances.
598 Both ranking functions take an integer normalization option that specifies whether and how
599 a document's length should impact its rank. The integer option controls several behaviors,
600 so it is a bit mask: you can specify one or more behaviors using | (for example, 2|4).
602 0 (the default) ignores the document length
604 1 divides the rank by 1 + the logarithm of the document length
606 2 divides the rank by the document length
608 4 divides the rank by the mean harmonic distance between extents (this is implemented only by ts_rank_cd)
610 8 divides the rank by the number of unique words in document
612 16 divides the rank by 1 + the logarithm of the number of unique words in document
614 32 divides the rank by itself + 1
616 If more than one flag bit is specified, the transformations are applied in the order listed.
618 It is important to note that the ranking functions do not use any global information, so it
619 is impossible to produce a fair normalization to 1% or 100% as sometimes desired. Normalization
620 option 32 (rank/(rank+1)) can be applied to scale all ranks into the range zero to one, but of
621 course this is just a cosmetic change; it will not affect the ordering of the search results.
623 In Evergreen, these options are set via search modifiers. The modifiers are mapped in the
626 * #CD_logDocumentLength => 1 :: rank / (1 + LOG(total_word_count)) :: Longer documents slightly less relevant
627 * #CD_documentLength => 2 :: rank / total_word_count :: Longer documents much less relevant
628 * #CD_meanHarmonic => 4 :: Word Proximity :: Greater matched-word distance is less relevant
629 * #CD_uniqueWords => 8 :: rank / unique_word_count :: Documents with repeated words much less relevant
630 * #CD_logUniqueWords => 16 :: rank / (1 + LOG(unique_word_count)) :: Documents with repeated words slightly less relevant
631 * #CD_selfPlusOne => 32 :: rank / (1 + rank) :: Cosmetic normalization of rank value between 0 and 1
633 Adding one or more of these to the default_CD_modifiers list will cause all searches that use QueryParser to apply them.
635 <default_CD_modifiers>#CD_documentLength #CD_meanHarmonic #CD_uniqueWords</default_CD_modifiers>
638 default_preferred_language
639 Set the global, default preferred languange
641 <default_preferred_language>eng</default_preferred_language>
644 default_preferred_language_weight
645 Set the weight (higher is "better") for the preferred language. Comment out to remove all lanuage weighting by default.
647 <default_preferred_language_weight>5</default_preferred_language_weight>
649 <!-- Baseline number of records to check for hit estimation. -->
650 <superpage_size>1000</superpage_size>
652 <!-- How many superpages to consider for searching overall. -->
653 <max_superpages>10</max_superpages>
655 <!-- zip code database file -->
656 <!--<zips_file>LOCALSTATEDIR/data/zips.txt</zips_file>-->
660 <!-- server for accessing user info -->
662 <keepalive>5</keepalive>
663 <stateless>1</stateless>
664 <language>perl</language>
665 <implementation>OpenILS::Application::Actor</implementation>
666 <max_requests>93</max_requests>
668 <unix_sock>open-ils.actor_unix.sock</unix_sock>
669 <unix_pid>open-ils.actor_unix.pid</unix_pid>
670 <max_requests>1000</max_requests>
671 <unix_log>open-ils.actor_unix.log</unix_log>
672 <min_children>1</min_children>
673 <max_children>15</max_children>
674 <min_spare_children>1</min_spare_children>
675 <max_spare_children>5</max_spare_children>
677 <!-- set this to 'true' to have barcode search also search patron records by unique ID -->
679 <id_as_barcode>false</id_as_barcode>
685 <keepalive>5</keepalive>
686 <stateless>1</stateless>
687 <language>perl</language>
688 <implementation>OpenILS::Application::Booking</implementation>
689 <max_requests>199</max_requests>
691 <unix_sock>open-ils.booking_unix.sock</unix_sock>
692 <unix_pid>open-ils.booking_unix.pid</unix_pid>
693 <max_requests>1000</max_requests>
694 <unix_log>open-ils.booking_unix.log</unix_log>
695 <min_children>1</min_children>
696 <max_children>15</max_children>
697 <min_spare_children>1</min_spare_children>
698 <max_spare_children>5</max_spare_children>
705 <keepalive>5</keepalive>
706 <stateless>1</stateless>
707 <language>perl</language>
708 <implementation>OpenILS::Application::Cat</implementation>
709 <max_requests>199</max_requests>
711 <unix_sock>open-ils.cat_unix.sock</unix_sock>
712 <unix_pid>open-ils.cat_unix.pid</unix_pid>
713 <max_requests>1000</max_requests>
714 <unix_log>open-ils.cat_unix.log</unix_log>
715 <min_children>1</min_children>
716 <max_children>15</max_children>
717 <min_spare_children>1</min_spare_children>
718 <max_spare_children>5</max_spare_children>
722 <K_book>LOCALSTATEDIR/templates/marc/k_book.xml</K_book>
728 <keepalive>5</keepalive>
729 <stateless>1</stateless>
730 <language>perl</language>
731 <implementation>OpenILS::Application::SuperCat</implementation>
732 <max_requests>199</max_requests>
734 <unix_sock>open-ils.supercat_unix.sock</unix_sock>
735 <unix_pid>open-ils.supercat_unix.pid</unix_pid>
736 <max_requests>1000</max_requests>
737 <unix_log>open-ils.supercat_unix.log</unix_log>
738 <min_children>1</min_children>
739 <max_children>15</max_children>
740 <min_spare_children>1</min_spare_children>
741 <max_spare_children>5</max_spare_children>
745 <!-- server for accessing user info -->
747 <keepalive>5</keepalive>
748 <stateless>1</stateless>
749 <language>perl</language>
750 <implementation>OpenILS::Application::Trigger</implementation>
751 <max_requests>93</max_requests>
753 <unix_sock>open-ils.trigger_unix.sock</unix_sock>
754 <unix_pid>open-ils.trigger_unix.pid</unix_pid>
755 <max_requests>1000</max_requests>
756 <unix_log>open-ils.trigger_unix.log</unix_log>
757 <min_children>1</min_children>
758 <max_children>15</max_children>
759 <min_spare_children>1</min_spare_children>
760 <max_spare_children>5</max_spare_children>
763 <!-- number of parallel open-ils.trigger processes to use for collection and reaction -->
773 <open-ils.url_verify>
774 <keepalive>5</keepalive>
775 <stateless>1</stateless>
776 <language>perl</language>
777 <implementation>OpenILS::Application::URLVerify</implementation>
778 <max_requests>199</max_requests>
780 <unix_sock>open-ils.url_verify_unix.sock</unix_sock>
781 <unix_pid>open-ils.url_verify_unix.pid</unix_pid>
782 <max_requests>1000</max_requests>
783 <unix_log>open-ils.url_verify_unix.log</unix_log>
784 <min_children>1</min_children>
785 <max_children>15</max_children>
786 <min_spare_children>1</min_spare_children>
787 <max_spare_children>5</max_spare_children>
790 <user_agent>Evergreen %s Link Checker</user_agent>
792 </open-ils.url_verify>
795 <keepalive>3</keepalive>
796 <stateless>1</stateless>
797 <language>c</language>
798 <implementation>osrf_math.so</implementation>
800 <unix_sock>opensrf.math_unix.sock</unix_sock>
801 <unix_pid>opensrf.math_unix.pid</unix_pid>
802 <max_requests>1000</max_requests>
803 <unix_log>opensrf.math_unix.log</unix_log>
804 <min_children>1</min_children>
805 <max_children>15</max_children>
806 <min_spare_children>1</min_spare_children>
807 <max_spare_children>5</max_spare_children>
812 <keepalive>3</keepalive>
813 <stateless>1</stateless>
814 <language>c</language>
815 <implementation>osrf_dbmath.so</implementation>
817 <max_requests>1000</max_requests>
818 <unix_log>opensrf.dbmath_unix.log</unix_log>
819 <unix_sock>opensrf.dbmath_unix.sock</unix_sock>
820 <unix_pid>opensrf.dbmath_unix.pid</unix_pid>
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>
829 <keepalive>5</keepalive>
830 <stateless>1</stateless>
831 <language>perl</language>
832 <implementation>OpenILS::Application::JustInTime</implementation>
833 <max_requests>199</max_requests>
835 <unix_sock>open-ils.justintime_unix.sock</unix_sock>
836 <unix_pid>open-ils.justintime_unix.pid</unix_pid>
837 <max_requests>1000</max_requests>
838 <unix_log>open-ils.justintime_unix.log</unix_log>
839 <min_children>1</min_children>
840 <max_children>15</max_children>
841 <min_spare_children>1</min_spare_children>
842 <max_spare_children>5</max_spare_children>
846 </open-ils.justintime>
849 <keepalive>3</keepalive>
850 <stateless>1</stateless>
851 <language>perl</language>
852 <implementation>OpenILS::Application::Circ</implementation>
853 <max_requests>99</max_requests>
855 <max_requests>1000</max_requests>
856 <unix_log>open-ils.circ_unix.log</unix_log>
857 <unix_sock>open-ils.circ_unix.sock</unix_sock>
858 <unix_pid>open-ils.circ_unix.pid</unix_pid>
859 <min_children>1</min_children>
860 <max_children>15</max_children>
861 <min_spare_children>1</min_spare_children>
862 <max_spare_children>5</max_spare_children>
866 <email>false</email> <!-- set to false to disable hold notice emails -->
872 <keepalive>10</keepalive>
873 <stateless>1</stateless>
874 <language>perl</language>
875 <implementation>OpenILS::Application::Storage</implementation>
877 <max_requests>1000</max_requests>
878 <unix_log>open-ils.storage_unix.log</unix_log>
879 <unix_sock>open-ils.storage_unix.sock</unix_sock>
880 <unix_pid>open-ils.storage_unix.pid</unix_pid>
881 <min_children>1</min_children>
882 <max_children>10</max_children>
883 <min_spare_children>1</min_spare_children>
884 <max_spare_children>5</max_spare_children>
887 <script_path>LIBDIR/javascript/</script_path>
888 <script_path>LOCALSTATEDIR/catalog/</script_path>
890 <biblio_fingerprint>biblio_fingerprint.js</biblio_fingerprint>
897 <user>postgres</user>
898 <host>localhost</host>
902 <client_encoding>UTF-8</client_encoding>
903 <application_name>open-ils.storage</application_name>
910 <keepalive>6</keepalive>
911 <stateless>1</stateless>
912 <language>C</language>
913 <implementation>oils_cstore.so</implementation>
915 <max_requests>1000</max_requests>
916 <min_children>1</min_children>
917 <max_children>15</max_children>
918 <min_spare_children>1</min_spare_children>
919 <max_spare_children>5</max_spare_children>
922 <max_query_recursion>100</max_query_recursion>
923 <driver>pgsql</driver>
927 <user>postgres</user>
928 <host>localhost</host>
932 <client_encoding>UTF-8</client_encoding>
933 <application_name>open-ils.cstore</application_name>
939 <keepalive>6</keepalive>
940 <migratable>1</migratable>
941 <stateless>1</stateless>
942 <language>C</language>
943 <implementation>oils_pcrud.so</implementation>
946 <unix_log>open-ils.pcrud.log</unix_log>
947 <unix_sock>open-ils.pcrud.sock</unix_sock>
948 <unix_pid>open-ils.pcrud.pid</unix_pid>
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>
957 <IDL>SYSCONFDIR/fm_IDL.xml</IDL>
958 <driver>pgsql</driver>
962 <user>postgres</user>
963 <host>localhost</host>
967 <client_encoding>UTF-8</client_encoding>
968 <application_name>open-ils.pcrud</application_name>
974 <keepalive>6</keepalive>
975 <stateless>1</stateless>
976 <language>C</language>
977 <implementation>oils_qstore.so</implementation>
979 <max_requests>1000</max_requests>
980 <min_children>1</min_children>
981 <max_children>15</max_children>
982 <min_spare_children>1</min_spare_children>
983 <max_spare_children>5</max_spare_children>
986 <driver>pgsql</driver>
990 <user>postgres</user>
991 <host>localhost</host>
995 <client_encoding>UTF-8</client_encoding>
996 <application_name>open-ils.qstore</application_name>
1002 <keepalive>1</keepalive>
1003 <stateless>1</stateless>
1004 <language>perl</language>
1005 <implementation>OpenSRF::Application::Settings</implementation>
1006 <max_requests>17</max_requests>
1008 <unix_sock>opensrf.settings_unix.sock</unix_sock>
1009 <unix_pid>opensrf.settings_unix.pid</unix_pid>
1010 <max_requests>300</max_requests>
1011 <unix_log>opensrf.settings_unix.log</unix_log>
1012 <min_children>5</min_children>
1013 <max_children>15</max_children>
1014 <min_spare_children>3</min_spare_children>
1015 <max_spare_children>5</max_spare_children>
1019 <open-ils.collections>
1020 <keepalive>3</keepalive>
1021 <stateless>1</stateless>
1022 <language>perl</language>
1023 <implementation>OpenILS::Application::Collections</implementation>
1024 <max_requests>17</max_requests>
1026 <unix_sock>open-ils.collections_unix.sock</unix_sock>
1027 <unix_pid>open-ils.collections_unix.pid</unix_pid>
1028 <max_requests>1000</max_requests>
1029 <unix_log>open-ils.collections_unix.log</unix_log>
1030 <min_children>1</min_children>
1031 <max_children>10</max_children>
1032 <min_spare_children>1</min_spare_children>
1033 <max_spare_children>5</max_spare_children>
1036 <!-- batch_file_dir must be a protected, web-accessible, shared directory -->
1037 <batch_file_dir>/openils/var/web/collections</batch_file_dir>
1039 </open-ils.collections>
1042 <keepalive>3</keepalive>
1043 <stateless>1</stateless>
1044 <language>perl</language>
1045 <implementation>OpenILS::Application::Reporter</implementation>
1046 <max_requests>99</max_requests>
1048 <unix_sock>open-ils.reporter_unix.sock</unix_sock>
1049 <unix_pid>open-ils.reporter_unix.pid</unix_pid>
1050 <max_requests>1000</max_requests>
1051 <unix_log>open-ils.reporter_unix.log</unix_log>
1052 <min_children>1</min_children>
1053 <max_children>10</max_children>
1054 <min_spare_children>1</min_spare_children>
1055 <max_spare_children>5</max_spare_children>
1057 </open-ils.reporter>
1059 <open-ils.reporter-store>
1060 <keepalive>6</keepalive>
1061 <stateless>1</stateless>
1062 <language>C</language>
1063 <implementation>oils_rstore.so</implementation>
1065 <max_requests>400</max_requests>
1066 <min_children>1</min_children>
1067 <max_children>10</max_children>
1068 <min_spare_children>1</min_spare_children>
1069 <max_spare_children>5</max_spare_children>
1072 <driver>pgsql</driver>
1076 <user>postgres</user>
1077 <host>localhost</host>
1081 <client_encoding>UTF-8</client_encoding>
1082 <application_name>open-ils.reporter-store</application_name>
1085 </open-ils.reporter-store>
1087 <!-- resolver_type defaults to sfx but can also be cufts -->
1090 <keepalive>3</keepalive>
1091 <stateless>1</stateless>
1092 <language>perl</language>
1093 <implementation>OpenILS::Application::ResolverResolver</implementation>
1094 <max_requests>93</max_requests>
1096 <unix_sock>open-ils.resolver_unix.sock</unix_sock>
1097 <unix_pid>open-ils.resolver_unix.pid</unix_pid>
1098 <max_requests>1000</max_requests>
1099 <unix_log>open-ils.resolver_unix.log</unix_log>
1100 <min_children>5</min_children>
1101 <max_children>15</max_children>
1102 <min_spare_children>3</min_spare_children>
1103 <max_spare_children>5</max_spare_children>
1106 <cache_timeout>86400</cache_timeout>
1107 <request_timeout>10</request_timeout>
1108 <default_url_base>http://path/to/sfx_or_cufts</default_url_base>
1109 <resolver_type>sfx</resolver_type>
1111 </open-ils.resolver>
1114 <open-ils.permacrud>
1115 <keepalive>3</keepalive>
1116 <stateless>1</stateless>
1117 <language>perl</language>
1118 <implementation>OpenILS::Application::PermaCrud</implementation>
1119 <max_requests>17</max_requests>
1121 <unix_sock>open-ils.permacrud_unix.sock</unix_sock>
1122 <unix_pid>open-ils.permacrud_unix.pid</unix_pid>
1123 <max_requests>1000</max_requests>
1124 <unix_log>open-ils.permacrud_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>
1130 </open-ils.permacrud>
1133 <keepalive>3</keepalive>
1134 <stateless>1</stateless>
1135 <language>perl</language>
1136 <implementation>OpenILS::Application::Fielder</implementation>
1137 <max_requests>17</max_requests>
1139 <unix_sock>open-ils.fielder_unix.sock</unix_sock>
1140 <unix_pid>open-ils.fielder_unix.pid</unix_pid>
1141 <max_requests>1000</max_requests>
1142 <unix_log>open-ils.fielder_unix.log</unix_log>
1143 <min_children>5</min_children>
1144 <max_children>15</max_children>
1145 <min_spare_children>3</min_spare_children>
1146 <max_spare_children>5</max_spare_children>
1151 <keepalive>5</keepalive>
1152 <stateless>1</stateless>
1153 <language>perl</language>
1154 <implementation>OpenILS::Application::Vandelay</implementation>
1155 <max_requests>100</max_requests>
1157 <unix_sock>vandelay_unix.sock</unix_sock>
1158 <unix_pid>vandelay_unix.pid</unix_pid>
1159 <unix_log>vandelay_unix.log</unix_log>
1160 <max_requests>100</max_requests>
1161 <min_children>1</min_children>
1162 <max_children>15</max_children>
1163 <min_spare_children>1</min_spare_children>
1164 <max_spare_children>5</max_spare_children>
1168 <!-- temporary location for MARC import files.
1169 Files will be deleted after records are spooled.
1170 *note: in a multi-brick environment, this will need to
1171 be on a write-able NFS share. -->
1172 <importer>/tmp</importer>
1175 </open-ils.vandelay>
1178 <keepalive>3</keepalive>
1179 <stateless>1</stateless>
1180 <language>perl</language>
1181 <implementation>OpenILS::Application::Serial</implementation>
1182 <max_requests>17</max_requests>
1184 <unix_sock>open-ils.serial_unix.sock</unix_sock>
1185 <unix_pid>open-ils.serial_unix.pid</unix_pid>
1186 <max_requests>1000</max_requests>
1187 <unix_log>open-ils.serial_unix.log</unix_log>
1188 <min_children>5</min_children>
1189 <max_children>15</max_children>
1190 <min_spare_children>3</min_spare_children>
1191 <max_spare_children>5</max_spare_children>
1197 <open-ils.hold-targeter>
1198 <keepalive>3</keepalive>
1199 <stateless>1</stateless>
1200 <language>perl</language>
1201 <implementation>OpenILS::Application::HoldTargeter</implementation>
1202 <max_requests>17</max_requests>
1204 <unix_sock>open-ils.hold-targeter_unix.sock</unix_sock>
1205 <unix_pid>open-ils.hold-targeter_unix.pid</unix_pid>
1206 <max_requests>1000</max_requests>
1207 <unix_log>open-ils.hold-targeter_unix.log</unix_log>
1208 <min_children>1</min_children>
1209 <max_children>15</max_children>
1210 <min_spare_children>1</min_spare_children>
1211 <max_spare_children>5</max_spare_children>
1215 </open-ils.hold-targeter>
1225 Should match the fully qualified domain name of the host.
1227 On Linux, the output of the following command is authoritative:
1228 $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
1230 To use 'localhost' instead, run osrf_control with the 'localhost' flag
1234 <!-- services hosted on this machine -->
1235 <appname>opensrf.settings</appname>
1236 <appname>opensrf.math</appname>
1237 <appname>opensrf.dbmath</appname>
1238 <appname>open-ils.acq</appname>
1239 <appname>open-ils.booking</appname>
1240 <appname>open-ils.cat</appname>
1241 <appname>open-ils.supercat</appname>
1242 <appname>open-ils.search</appname>
1243 <appname>open-ils.circ</appname>
1244 <appname>open-ils.actor</appname>
1245 <appname>open-ils.auth</appname>
1246 <appname>open-ils.auth_internal</appname>
1247 <appname>open-ils.auth_proxy</appname>
1248 <appname>open-ils.storage</appname>
1249 <appname>open-ils.justintime</appname>
1250 <appname>open-ils.cstore</appname>
1251 <appname>open-ils.collections</appname>
1252 <appname>open-ils.reporter</appname>
1253 <appname>open-ils.reporter-store</appname>
1254 <!-- <appname>open-ils.resolver</appname> -->
1255 <appname>open-ils.permacrud</appname>
1256 <appname>open-ils.pcrud</appname>
1257 <appname>open-ils.trigger</appname>
1258 <appname>open-ils.url_verify</appname>
1259 <appname>open-ils.fielder</appname>
1260 <appname>open-ils.vandelay</appname>
1261 <appname>open-ils.serial</appname>
1262 <appname>open-ils.hold-targeter</appname>