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 revisionBoth sides next revision
administration:performance [2018/06/05 19:08] – [Offloading MARC Records] demiankatzadministration:performance [2018/12/19 18:45] – [Troubleshooting] demiankatz
Line 157: Line 157:
  
 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's expire_sessions utility regularly. This 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.  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's expire_sessions utility regularly. This 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. 
-===== Troubleshooting ===== 
- 
-There have been some reports of VuFind errors when running APC.  Excerpt from the vufind-tech mailing list (courtesy of Graham Seaman): 
- 
-// 
-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 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 ======
administration/performance.txt · Last modified: 2022/05/06 12:52 by demiankatz