About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
administration:performance [2017/08/01 18:43] demiankatzadministration:performance [2018/12/19 18:45] – [Troubleshooting] demiankatz
Line 154: Line 154:
 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. 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.
  
-===== Troubleshooting =====+===== Session Handling =====
  
-There have been some reports of VuFind errors when running APC Excerpt from the vufind-tech mailing list (courtesy of Graham Seaman): +When using database sessions, deleting expired sessions may be a surprisingly heavy processOn 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's expire_sessions utility regularlyThis makes sure that garbage collection is done outside Apache that serves user requests and with a method that makes it possible to handle session deletion in a large table
- +
-// +
-Inserting the line in index.php +
-// +
- +
-<code php> +
-register_shutdown_function('session_write_close'); +
-</code> +
- +
-// +
-immediately before requiring the session handler, seems to fix the problem with APCSince this is the result of trawling the web and not of any deep understanding on my part, I can't guarantee this won't have sideffects (I'll report back if I find any), or that it will always work. +
-// +
- +
-Note: As of VuFind 1.4, the default VuFind code will register the shutdown function, so this modification should no longer be necessary.+
  
 ====== Apache Tuning ====== ====== Apache Tuning ======
Line 252: Line 238:
 See the [[configuration:remote_marc_records|Remote MARC Records]] page for details on reducing index size by storing MARC records externally to your Solr index. (Note: requires VuFind 2.5 or newer). See the [[configuration:remote_marc_records|Remote MARC Records]] page for details on reducing index size by storing MARC records externally to your Solr index. (Note: requires VuFind 2.5 or newer).
  
 +===== Limits =====
 +
 +Certain operating system limits can impact Solr performance, and starting with release 7.3.1, the software will warn you if you are below the recommended thresholds. See the [[administration:starting_and_stopping_solr#linux_method|Linux startup instructions]] for notes on how to correct this problem.
 ===== Further Reading ===== ===== Further Reading =====
  
administration/performance.txt · Last modified: 2022/05/06 12:52 by demiankatz