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/08/01 18:43] – demiankatz | administration: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. | + | 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 |
- | + | ||
- | // | + | |
- | Inserting the line in index.php | + | |
- | // | + | |
- | + | ||
- | <code php> | + | |
- | register_shutdown_function('session_write_close' | + | |
- | </ | + | |
- | + | ||
- | // | + | |
- | immediately before requiring the session handler, seems to fix the problem with APC. Since 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: | See the [[configuration: | ||
+ | ===== Limits ===== | ||
+ | |||
+ | Certain operating system limits can impact Solr performance, | ||
===== Further Reading ===== | ===== Further Reading ===== | ||
administration/performance.txt · Last modified: 2022/05/06 12:52 by demiankatz