Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:performance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
administration:performance [2017/03/23 00:36] – [JAVA_OPTIONS] lmgonzales | administration:performance [2018/03/22 13:53] – [Theme Compiler] emaijala | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== JAVA_OPTIONS ===== | ===== JAVA_OPTIONS ===== | ||
- | :!: This section refers to VuFind 2.x and earlier, which include Solr 4 or earlier. Starting with VuFind 3.0, Solr 5 is bundled with VuFind, and it uses a different startup routine. To adjust the heap memory size in these versions, simply change the SOLR_HEAP environment variable. For additional Java tuning, see the solr.in.sh script in vufind/ | + | :!: This section refers to VuFind 2.x and earlier, which include Solr 4 or earlier. Starting with VuFind 3.0, Solr 5 is bundled with VuFind, and it uses a different startup routine. To adjust the heap memory size in these versions, simply change the SOLR_HEAP environment variable. |
If you are using the included distribution of Jetty, the tuning options are set in the JAVA_OPTIONS environmental variable. You can either set this for the user running the instance of Jetty (recommended) or in / | If you are using the included distribution of Jetty, the tuning options are set in the JAVA_OPTIONS environmental variable. You can either set this for the user running the instance of Jetty (recommended) or in / | ||
Line 138: | Line 138: | ||
from module directory. | from module directory. | ||
+ | ===== Asset Pipeline ===== | ||
+ | Starting with VuFind 3.1, there is an optional "asset pipeline" | ||
+ | |||
+ | ===== Theme Compiler ===== | ||
+ | |||
+ | Starting with VuFind 4.1, there is a [[administration: | ||
+ | |||
+ | To use a compiled theme, follow these steps: | ||
+ | |||
+ | 1. Run "php $VUFIND_HOME/ | ||
+ | |||
+ | 2. Update your [[configuration: | ||
+ | |||
+ | Note: NEVER EDIT THE COMPILED THEME. Instead, edit the source theme and recompile it when you need to make changes. You must use the --force switch of the compiler if you need to overwrite your compiled theme with a new version. | ||
+ | |||
+ | ===== Session Handling ===== | ||
+ | When using database sessions, deleting expired sessions may be a surprisingly heavy process. On a busy site it may be beneficial to turn off PHP's session garbage collection (set session.gc_probability to 0 in php.ini) and run VuFind' | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 241: | Line 258: | ||
* [[administration: | * [[administration: | ||
+ | * [[administration: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 247: | Line 265: | ||
Search engine crawlers can sometimes put a heavy load on your server, causing performance issues for actual users. The behavior of search engine robots can be controlled with the help of a [[administration: | Search engine crawlers can sometimes put a heavy load on your server, causing performance issues for actual users. The behavior of search engine robots can be controlled with the help of a [[administration: | ||
- | |||
- | ====== Asset Pipeline ====== | ||
- | |||
- | Starting with VuFind 3.1, there is an optional "asset pipeline" | ||
====== Testing Performance ====== | ====== Testing Performance ====== |
administration/performance.txt · Last modified: 2022/05/06 12:52 by demiankatz